Skip to content

Commit

Permalink
fix java extension check
Browse files Browse the repository at this point in the history
  • Loading branch information
ortex authored and gavv committed Apr 25, 2020
1 parent c295eb3 commit 0502b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ task generateHeaders(dependsOn: 'classes') {
classesDir.mkdirs()

sourceDir.eachFileRecurse { f ->
if (!f.directory && f.name.endsWith("java")) {
if (!f.directory && f.name.endsWith(".java")) {
exec {
commandLine "javac", "-h", nativeHeadersPath, "-classpath", sourceDir, f, "-d", classesDir
}
Expand Down

0 comments on commit 0502b15

Please sign in to comment.