equal
deleted
inserted
replaced
35 fun Project.configureAnnotationProcessorDeps() { |
35 fun Project.configureAnnotationProcessorDeps() { |
36 dependencies { |
36 dependencies { |
37 configurations.whenObjectAdded { |
37 configurations.whenObjectAdded { |
38 when (name) { |
38 when (name) { |
39 "kapt" -> { |
39 "kapt" -> { |
40 add(name,"javax.xml.bind:jaxb-api:2.3.1") |
40 add(name, "javax.xml.bind:jaxb-api:2.3.1") |
41 add(name, "com.sun.xml.bind:jaxb-core:2.3.0.1") |
41 add(name, "com.sun.xml.bind:jaxb-core:2.3.0.1") |
42 add(name, "com.sun.xml.bind:jaxb-impl:2.3.2") |
42 add(name, "com.sun.xml.bind:jaxb-impl:2.3.2") |
43 } |
43 } |
44 "annotationProcessor" -> add(name, "javax.xml.bind:jaxb-api:2.3.1") |
44 "annotationProcessor" -> add(name, "javax.xml.bind:jaxb-api:2.3.1") |
|
45 // I guess that on AGP 4.x+ testAnnotationProcessor inherit from annotationProcessor |
|
46 // not on 3.6.x |
|
47 "testAnnotationProcessor" -> add(name, "javax.xml.bind:jaxb-api:2.3.1") |
45 } |
48 } |
46 } |
49 } |
47 } |
50 } |
48 } |
51 } |