Index: build/android/gradle/android.jinja |
diff --git a/build/android/gradle/android.jinja b/build/android/gradle/android.jinja |
index 385d999db0f0c940e28e0c1d4e25d35e3be4732c..a49dda9433f81e716e0faf6571fad06330fb6e6e 100644 |
--- a/build/android/gradle/android.jinja |
+++ b/build/android/gradle/android.jinja |
@@ -10,11 +10,13 @@ |
"{{ path }}", |
{% endfor %} |
] |
+{% if variables.java_excludes %} |
java.filter.exclude( |
{% for path in variables.java_excludes %} |
"{{ path }}", |
{% endfor %} |
) |
+{% endif %} |
jniLibs.srcDirs = [ |
{% for path in variables.jni_libs %} |
"{{ path }}", |
@@ -90,4 +92,9 @@ afterEvaluate { |
tasksToDisable.each { Task task -> |
task.enabled = false |
} |
+{% if bootclasspath is defined %} |
+ tasks.withType(JavaCompile) { |
+ options.bootClasspath = "{{ bootclasspath }}" |
+ } |
+{% endif %} |
} |