diff options
| -rw-r--r-- | Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ java_binary_host { static_libs: [ "dokka-tools-common-m2-deps", ], + // Pin to Java 8 since dokka doesn't compile with the Java 9 module system + // (it references packages under com.sun.tools.doclets which are not + // exported from the jdk.javadoc module) (see b/140097603): + java_version: "1.8", kotlincflags: ["-language-version 1.2 -api-version 1.2 -jvm-target 1.8"], use_tools_jar: true, java_resource_dirs: ["core/src/main/resources"], |
