Eugen Martynov
08/07/2019, 8:45 AMgildor
08/07/2019, 8:49 AMEugen Martynov
08/07/2019, 8:50 AMgildor
08/07/2019, 8:50 AMEugen Martynov
08/07/2019, 8:50 AMgildor
08/07/2019, 8:50 AMEugen Martynov
08/07/2019, 8:50 AMgildor
08/07/2019, 8:51 AMEugen Martynov
08/07/2019, 8:51 AMif (project.hasProperty('kapt')) {
// Reference for 'kapt' DSL: <https://kotlinlang.org/docs/reference/kapt.html#java-compiler-options>
kapt {
// we expect this closure to run over a org.jetbrains.kotlin.gradle.plugin.KaptExtension
javacOptions {
option('-source', '8')
option('-target', '8')
}
}
}
gildor
08/07/2019, 8:51 AMEugen Martynov
08/07/2019, 8:52 AMgildor
08/07/2019, 8:52 AMEugen Martynov
08/07/2019, 8:53 AMgildor
08/07/2019, 9:16 AMEugen Martynov
08/07/2019, 9:25 AMgildor
08/07/2019, 9:27 AMSergey Chelombitko
08/07/2019, 11:17 AM-source 8
works well in kotlin-android modules but broken in pure kotlin modules https://youtrack.jetbrains.com/issue/KT-33028gildor
08/07/2019, 11:47 AMEugen Martynov
08/08/2019, 6:45 AMjava.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
gildor
08/08/2019, 6:45 AMkapt "javax.xml.bind:jaxb-api:2.3.1"
kapt "com.sun.xml.bind:jaxb-core:2.3.0.1"
kapt "com.sun.xml.bind:jaxb-impl:2.3.2"
annotationProcessor
classpath, but not sure why,Eugen Martynov
08/08/2019, 6:46 AMgildor
08/08/2019, 6:47 AMannotationProcessor "javax.xml.bind:jaxb-api:2.3.1"
annotationProcessor "com.sun.xml.bind:jaxb-core:2.3.0.1"
annotationProcessor "com.sun.xml.bind:jaxb-impl:2.3.2"
Eugen Martynov
08/08/2019, 6:55 AMgildor
08/08/2019, 6:57 AMEugen Martynov
08/08/2019, 6:59 AMcompileDebugJavaWithJavac
fails with the same class missinggildor
08/08/2019, 7:01 AMEugen Martynov
08/08/2019, 7:01 AMgildor
08/08/2019, 7:06 AMEugen Martynov
08/08/2019, 7:07 AMgildor
08/08/2019, 7:08 AMEugen Martynov
08/08/2019, 9:35 AMgildor
08/08/2019, 9:38 AM