@@ -6,23 +6,23 @@ dependencies {
6
6
" org.aspectj:aspectjweaver:$aspectjVersion "
7
7
annotationProcessor " io.micronaut:micronaut-inject-java:$micronautVersion "
8
8
annotationProcessor " io.micronaut.spring:micronaut-spring-annotation:$micronautSpringVersion "
9
- compile " io.micronaut:micronaut-inject:$micronautVersion "
10
- compile " io.micronaut.spring:micronaut-spring-context:$micronautSpringVersion "
11
- compile ' javax.persistence:javax.persistence-api:2.2'
12
- compile " javax.annotation:javax.annotation-api:$javaxAnnotationApiVersion "
9
+ api " io.micronaut:micronaut-inject:$micronautVersion "
10
+ api " io.micronaut.spring:micronaut-spring-context:$micronautSpringVersion "
11
+ api ' javax.persistence:javax.persistence-api:2.2'
12
+ api " javax.annotation:javax.annotation-api:$javaxAnnotationApiVersion "
13
13
14
- compile " com.github.ben-manes.caffeine:caffeine:$caffeineVersion "
15
- compile (" org.springframework.boot:spring-boot:$springBootVersion " )
16
- compile (" org.springframework:spring-core:${ springVersion} " ) {
14
+ implementation " com.github.ben-manes.caffeine:caffeine:$caffeineVersion "
15
+ api (" org.springframework.boot:spring-boot:$springBootVersion " )
16
+ api (" org.springframework:spring-core:${ springVersion} " ) {
17
17
exclude group : ' commons-logging' , module :' commons-logging'
18
18
}
19
- compile (" org.springframework:spring-tx:${ springVersion} " ) {
19
+ api (" org.springframework:spring-tx:${ springVersion} " ) {
20
20
exclude group : ' commons-logging' , module :' commons-logging'
21
21
}
22
- compile (" org.springframework:spring-beans:${ springVersion} " ) {
22
+ api (" org.springframework:spring-beans:${ springVersion} " ) {
23
23
exclude group : ' commons-logging' , module :' commons-logging'
24
24
}
25
- compile (" org.springframework:spring-context:${ springVersion} " ) {
25
+ api (" org.springframework:spring-context:${ springVersion} " ) {
26
26
exclude group : ' commons-logging' , module :' commons-logging'
27
27
}
28
28
@@ -32,7 +32,7 @@ dependencies {
32
32
compileOnly(" org.codehaus.groovy:groovy-templates:$groovyVersion " )
33
33
34
34
35
- compile project(" :grails-bootstrap" ), {
35
+ api project(" :grails-bootstrap" ), {
36
36
exclude group :" org.fusesource.jansi" , module :" jansi"
37
37
exclude group :" jline" , module :" jline"
38
38
exclude group :" net.java.dev.jna" , module :" jna"
@@ -48,21 +48,21 @@ dependencies {
48
48
exclude group :" org.codehaus.gant" , module :" gant_groovy1.8"
49
49
}
50
50
51
- compile project(" :grails-spring" ), {
51
+ api project(" :grails-spring" ), {
52
52
exclude group :' org.springframework' , module :' spring-tx'
53
53
exclude group :' org.springframework' , module :' spring-web'
54
54
exclude group :' org.grails' , module :' grails-bootstrap'
55
55
}
56
56
57
- compile " org.grails:grails-datastore-core:$datastoreVersion "
57
+ api " org.grails:grails-datastore-core:$datastoreVersion "
58
58
59
- testCompile (" org.springframework:spring-jdbc:${ springVersion} " ) {
59
+ testImplementation (" org.springframework:spring-jdbc:${ springVersion} " ) {
60
60
exclude group : ' commons-logging' , module :' commons-logging'
61
61
}
62
62
63
- testCompile " org.hamcrest:hamcrest-core:1.3"
63
+ testImplementation " org.hamcrest:hamcrest-core:1.3"
64
64
65
- testRuntime " com.h2database:h2:$h2Version "
65
+ testRuntimeOnly " com.h2database:h2:$h2Version "
66
66
67
67
// These dependencies are not required, but due to a Groovy compiler bug they are loaded by Groovy and hence
68
68
// have to be on the path for compilation even though they shouldn't be
0 commit comments