build: also allow instrumentation tests on Java 11
authorDa Risk <da_risk@geekorum.com>
Sun, 10 May 2020 03:53:45 -0400
changeset 8 729a3ee3840a
parent 7 b83e6b69e806
child 9 817ec8de14ea
build: also allow instrumentation tests on Java 11
buildSrc/src/main/kotlin/AndroidJavaVersion.kt
--- a/buildSrc/src/main/kotlin/AndroidJavaVersion.kt	Sat May 09 18:16:48 2020 -0400
+++ b/buildSrc/src/main/kotlin/AndroidJavaVersion.kt	Sun May 10 03:53:45 2020 -0400
@@ -45,6 +45,7 @@
                 // I guess that on AGP 4.x+ testAnnotationProcessor inherit from annotationProcessor
                 // not on 3.6.x
                 "testAnnotationProcessor" -> add(name, "javax.xml.bind:jaxb-api:2.3.1")
+                "androidTestAnnotationProcessor" -> add(name, "javax.xml.bind:jaxb-api:2.3.1")
             }
         }
     }