Skip to content

Instantly share code, notes, and snippets.

@ckarthickit
Created May 14, 2021 02:50
Show Gist options
  • Select an option

  • Save ckarthickit/11b48683ee45ebe419b0ce944fb32f2a to your computer and use it in GitHub Desktop.

Select an option

Save ckarthickit/11b48683ee45ebe419b0ce944fb32f2a to your computer and use it in GitHub Desktop.
Adopt Android build on the JDK11

Adopting the Android Build on JDK 11

if (project.hasProperty('kapt')) {
            kapt '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 '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'
        compileOnly 'com.github.pengrad:jdk9-deps:1.0'

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment