diff --git a/src/main/resources/driven-adapter/async-event-bus/build.gradle.mustache b/src/main/resources/driven-adapter/async-event-bus/build.gradle.mustache index 3037dd27..1edb0412 100644 --- a/src/main/resources/driven-adapter/async-event-bus/build.gradle.mustache +++ b/src/main/resources/driven-adapter/async-event-bus/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { - compile project(':model') - compile 'org.reactivecommons:async-commons-starter:{{asyncCommonsStarterVersion}}' - compile 'org.springframework:spring-context' + implementation project(':model') + implementation 'org.reactivecommons:async-commons-starter:{{asyncCommonsStarterVersion}}' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/consumer-rest/reactive-rest-consumer/build.gradle.mustache b/src/main/resources/driven-adapter/consumer-rest/reactive-rest-consumer/build.gradle.mustache index 3ef04ddc..eda655b9 100644 --- a/src/main/resources/driven-adapter/consumer-rest/reactive-rest-consumer/build.gradle.mustache +++ b/src/main/resources/driven-adapter/consumer-rest/reactive-rest-consumer/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { implementation project(':model') - compile 'org.springframework:spring-context' + implementation 'org.springframework:spring-context' implementation 'org.springframework.boot:spring-boot-starter-webflux' } \ No newline at end of file diff --git a/src/main/resources/driven-adapter/consumer-rest/rest-consumer/build.gradle.mustache b/src/main/resources/driven-adapter/consumer-rest/rest-consumer/build.gradle.mustache index 9e58a7f8..c26ae37b 100644 --- a/src/main/resources/driven-adapter/consumer-rest/rest-consumer/build.gradle.mustache +++ b/src/main/resources/driven-adapter/consumer-rest/rest-consumer/build.gradle.mustache @@ -1,7 +1,7 @@ dependencies { implementation project(':model') - compile 'org.springframework:spring-context' - compile 'com.squareup.okhttp3:okhttp:3.14.9' + implementation 'org.springframework:spring-context' + implementation 'com.squareup.okhttp3:okhttp:3.14.9' testImplementation 'com.squareup.okhttp3:mockwebserver:3.14.9' implementation 'com.fasterxml.jackson.core:jackson-databind' } \ No newline at end of file diff --git a/src/main/resources/driven-adapter/generic/build.gradle.mustache b/src/main/resources/driven-adapter/generic/build.gradle.mustache index fabfa370..ecc2bcb5 100644 --- a/src/main/resources/driven-adapter/generic/build.gradle.mustache +++ b/src/main/resources/driven-adapter/generic/build.gradle.mustache @@ -1,4 +1,4 @@ dependencies { - compile project(':model') - compile 'org.springframework:spring-context' + implementation project(':model') + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/jpa-repository/build.gradle.mustache b/src/main/resources/driven-adapter/jpa-repository/build.gradle.mustache index 59037f98..f1474287 100644 --- a/src/main/resources/driven-adapter/jpa-repository/build.gradle.mustache +++ b/src/main/resources/driven-adapter/jpa-repository/build.gradle.mustache @@ -1,9 +1,9 @@ dependencies { implementation project(':model') - compile 'org.springframework.boot:spring-boot-starter-data-jpa' + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - runtime 'com.h2database:h2' - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + runtimeOnly 'com.h2database:h2' + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/kms-reactive/build.gradle.mustache b/src/main/resources/driven-adapter/kms-reactive/build.gradle.mustache index 4804345f..adfffda9 100644 --- a/src/main/resources/driven-adapter/kms-reactive/build.gradle.mustache +++ b/src/main/resources/driven-adapter/kms-reactive/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { implementation project(':model') - compile 'software.amazon.awssdk:kms:2.14.13' - compile 'org.springframework:spring-context' + implementation 'software.amazon.awssdk:kms:2.14.13' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/kms/build.gradle.mustache b/src/main/resources/driven-adapter/kms/build.gradle.mustache index 4804345f..adfffda9 100644 --- a/src/main/resources/driven-adapter/kms/build.gradle.mustache +++ b/src/main/resources/driven-adapter/kms/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { implementation project(':model') - compile 'software.amazon.awssdk:kms:2.14.13' - compile 'org.springframework:spring-context' + implementation 'software.amazon.awssdk:kms:2.14.13' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/mongo-reactive/build.gradle.mustache b/src/main/resources/driven-adapter/mongo-reactive/build.gradle.mustache index 9d520375..d90e62e3 100644 --- a/src/main/resources/driven-adapter/mongo-reactive/build.gradle.mustache +++ b/src/main/resources/driven-adapter/mongo-reactive/build.gradle.mustache @@ -4,6 +4,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - runtime 'de.flapdoodle.embed:de.flapdoodle.embed.mongo' // TODO: remove this dependency to connect to real database - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + runtimeOnly 'de.flapdoodle.embed:de.flapdoodle.embed.mongo' // TODO: remove this dependency to connect to real database + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/mongo-repository/build.gradle.mustache b/src/main/resources/driven-adapter/mongo-repository/build.gradle.mustache index c33393da..3880cea8 100644 --- a/src/main/resources/driven-adapter/mongo-repository/build.gradle.mustache +++ b/src/main/resources/driven-adapter/mongo-repository/build.gradle.mustache @@ -4,6 +4,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - runtime 'de.flapdoodle.embed:de.flapdoodle.embed.mongo' // TODO: remove this dependency to connect to real database - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + runtimeOnly 'de.flapdoodle.embed:de.flapdoodle.embed.mongo' // TODO: remove this dependency to connect to real database + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/mq-sender/build.gradle.mustache b/src/main/resources/driven-adapter/mq-sender/build.gradle.mustache index 8f9abee6..2621e687 100644 --- a/src/main/resources/driven-adapter/mq-sender/build.gradle.mustache +++ b/src/main/resources/driven-adapter/mq-sender/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { - compile project(':model') - compile 'com.github.bancolombia:commons-jms-mq:{{commonsJmsVersion}}' - compile 'org.springframework:spring-context' + implementation project(':model') + implementation 'com.github.bancolombia:commons-jms-mq:{{commonsJmsVersion}}' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/r2dbc-postgresql/build.gradle.mustache b/src/main/resources/driven-adapter/r2dbc-postgresql/build.gradle.mustache index 45892cc8..e2841dcd 100644 --- a/src/main/resources/driven-adapter/r2dbc-postgresql/build.gradle.mustache +++ b/src/main/resources/driven-adapter/r2dbc-postgresql/build.gradle.mustache @@ -1,6 +1,6 @@ dependencies { - compile project(':model') - compile 'org.springframework:spring-context' + implementation project(':model') + implementation 'org.springframework:spring-context' implementation 'org.springframework.boot:spring-boot-starter-data-r2dbc' implementation 'io.r2dbc:r2dbc-postgresql' } diff --git a/src/main/resources/driven-adapter/redis-reactive/redis-repository/build.gradle.mustache b/src/main/resources/driven-adapter/redis-reactive/redis-repository/build.gradle.mustache index 6fddd0b6..42ac71d1 100644 --- a/src/main/resources/driven-adapter/redis-reactive/redis-repository/build.gradle.mustache +++ b/src/main/resources/driven-adapter/redis-reactive/redis-repository/build.gradle.mustache @@ -1,7 +1,7 @@ dependencies { - compile project(':model') - compile 'org.springframework.boot:spring-boot-starter-data-redis-reactive' + implementation project(':model') + implementation 'org.springframework.boot:spring-boot-starter-data-redis-reactive' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/redis-reactive/redis-template/build.gradle.mustache b/src/main/resources/driven-adapter/redis-reactive/redis-template/build.gradle.mustache index e6d10632..f40a35b6 100644 --- a/src/main/resources/driven-adapter/redis-reactive/redis-template/build.gradle.mustache +++ b/src/main/resources/driven-adapter/redis-reactive/redis-template/build.gradle.mustache @@ -1,8 +1,8 @@ dependencies { - compile project(':model') - compile 'org.springframework.boot:spring-boot-starter-data-redis-reactive' - compile 'com.fasterxml.jackson.core:jackson-databind' + implementation project(':model') + implementation 'org.springframework.boot:spring-boot-starter-data-redis-reactive' + implementation 'com.fasterxml.jackson.core:jackson-databind' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/redis/redis-repository/build.gradle.mustache b/src/main/resources/driven-adapter/redis/redis-repository/build.gradle.mustache index ee3c33ce..fb7df636 100644 --- a/src/main/resources/driven-adapter/redis/redis-repository/build.gradle.mustache +++ b/src/main/resources/driven-adapter/redis/redis-repository/build.gradle.mustache @@ -1,7 +1,7 @@ dependencies { - compile project(':model') - compile 'org.springframework.boot:spring-boot-starter-data-redis' + implementation project(':model') + implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/redis/redis-template/build.gradle.mustache b/src/main/resources/driven-adapter/redis/redis-template/build.gradle.mustache index b3dd479d..48023a88 100644 --- a/src/main/resources/driven-adapter/redis/redis-template/build.gradle.mustache +++ b/src/main/resources/driven-adapter/redis/redis-template/build.gradle.mustache @@ -1,8 +1,8 @@ dependencies { - compile project(':model') - compile 'org.springframework.boot:spring-boot-starter-data-redis' - compile 'com.fasterxml.jackson.core:jackson-databind' + implementation project(':model') + implementation 'org.springframework.boot:spring-boot-starter-data-redis' + implementation 'com.fasterxml.jackson.core:jackson-databind' implementation 'org.reactivecommons.utils:object-mapper-api:{{objectMapperVersion}}' - testCompile 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' + testImplementation 'org.reactivecommons.utils:object-mapper:{{objectMapperVersion}}' } diff --git a/src/main/resources/driven-adapter/rsocket-requester/build.gradle.mustache b/src/main/resources/driven-adapter/rsocket-requester/build.gradle.mustache index 72c8dd09..923b4141 100644 --- a/src/main/resources/driven-adapter/rsocket-requester/build.gradle.mustache +++ b/src/main/resources/driven-adapter/rsocket-requester/build.gradle.mustache @@ -2,5 +2,5 @@ dependencies { implementation project(':model') implementation project(':usecase') implementation 'org.springframework:spring-context' - compile 'org.springframework.boot:spring-boot-starter-rsocket' + implementation 'org.springframework.boot:spring-boot-starter-rsocket' } \ No newline at end of file diff --git a/src/main/resources/driven-adapter/s3-reactive/build.gradle.mustache b/src/main/resources/driven-adapter/s3-reactive/build.gradle.mustache index 0dede597..6828c767 100644 --- a/src/main/resources/driven-adapter/s3-reactive/build.gradle.mustache +++ b/src/main/resources/driven-adapter/s3-reactive/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { implementation project(':model') - compile 'software.amazon.awssdk:s3:2.16.19' - compile 'org.springframework:spring-context' + implementation 'software.amazon.awssdk:s3:2.16.19' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/driven-adapter/s3/build.gradle.mustache b/src/main/resources/driven-adapter/s3/build.gradle.mustache index 0dede597..6828c767 100644 --- a/src/main/resources/driven-adapter/s3/build.gradle.mustache +++ b/src/main/resources/driven-adapter/s3/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { implementation project(':model') - compile 'software.amazon.awssdk:s3:2.16.19' - compile 'org.springframework:spring-context' + implementation 'software.amazon.awssdk:s3:2.16.19' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/entry-point/async-event-handler/build.gradle.mustache b/src/main/resources/entry-point/async-event-handler/build.gradle.mustache index 3f30fe45..103b7259 100644 --- a/src/main/resources/entry-point/async-event-handler/build.gradle.mustache +++ b/src/main/resources/entry-point/async-event-handler/build.gradle.mustache @@ -1,6 +1,6 @@ dependencies { - compile project(':model') - compile project(':usecase') - compile 'org.reactivecommons:async-commons-starter:{{asyncCommonsStarterVersion}}' - compile 'org.springframework:spring-context' + implementation project(':model') + implementation project(':usecase') + implementation 'org.reactivecommons:async-commons-starter:{{asyncCommonsStarterVersion}}' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/entry-point/generic/build.gradle.mustache b/src/main/resources/entry-point/generic/build.gradle.mustache index 6e53c323..d4a1002a 100644 --- a/src/main/resources/entry-point/generic/build.gradle.mustache +++ b/src/main/resources/entry-point/generic/build.gradle.mustache @@ -1,5 +1,5 @@ dependencies { - compile project(':model') - compile project(':usecase') - compile 'org.springframework:spring-context' + implementation project(':model') + implementation project(':usecase') + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/entry-point/graphql-api/build.gradle.mustache b/src/main/resources/entry-point/graphql-api/build.gradle.mustache index 8a1e5ec0..f791519d 100644 --- a/src/main/resources/entry-point/graphql-api/build.gradle.mustache +++ b/src/main/resources/entry-point/graphql-api/build.gradle.mustache @@ -1,7 +1,7 @@ dependencies { - compile project(':model') - compile project(':usecase') - compile 'org.springframework:spring-context' - compile 'com.graphql-java-kickstart:graphql-spring-boot-starter:11.0.0' - compile 'com.graphql-java-kickstart:playground-spring-boot-starter:11.0.0' + implementation project(':model') + implementation project(':usecase') + implementation 'org.springframework:spring-context' + implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:11.0.0' + implementation 'com.graphql-java-kickstart:playground-spring-boot-starter:11.0.0' } diff --git a/src/main/resources/entry-point/mq-listener/build.gradle.mustache b/src/main/resources/entry-point/mq-listener/build.gradle.mustache index aaf8a87b..4131eba5 100644 --- a/src/main/resources/entry-point/mq-listener/build.gradle.mustache +++ b/src/main/resources/entry-point/mq-listener/build.gradle.mustache @@ -1,6 +1,6 @@ dependencies { - compile project(':model') - compile project(':usecase') - compile 'com.github.bancolombia:commons-jms-mq:{{commonsJmsVersion}}' - compile 'org.springframework:spring-context' + implementation project(':model') + implementation project(':usecase') + implementation 'com.github.bancolombia:commons-jms-mq:{{commonsJmsVersion}}' + implementation 'org.springframework:spring-context' } diff --git a/src/main/resources/structure/applications/appservice/build.gradle.mustache b/src/main/resources/structure/applications/appservice/build.gradle.mustache index 772b0be8..cbc0d14b 100644 --- a/src/main/resources/structure/applications/appservice/build.gradle.mustache +++ b/src/main/resources/structure/applications/appservice/build.gradle.mustache @@ -3,8 +3,8 @@ apply plugin: 'org.springframework.boot' dependencies { implementation project(':model') implementation project(':usecase') - compile 'org.springframework.boot:spring-boot-starter' - runtime('org.springframework.boot:spring-boot-devtools') + implementation 'org.springframework.boot:spring-boot-starter' + runtimeOnly('org.springframework.boot:spring-boot-devtools') } task explodedJar(type: Copy) { diff --git a/src/main/resources/structure/domain/usecase/build.gradle.mustache b/src/main/resources/structure/domain/usecase/build.gradle.mustache index 34a98b70..03e2ccad 100644 --- a/src/main/resources/structure/domain/usecase/build.gradle.mustache +++ b/src/main/resources/structure/domain/usecase/build.gradle.mustache @@ -1,3 +1,3 @@ dependencies { - compile project(':model') + implementation project(':model') } diff --git a/src/main/resources/usecase/build.gradle.mustache b/src/main/resources/usecase/build.gradle.mustache index 34a98b70..03e2ccad 100644 --- a/src/main/resources/usecase/build.gradle.mustache +++ b/src/main/resources/usecase/build.gradle.mustache @@ -1,3 +1,3 @@ dependencies { - compile project(':model') + implementation project(':model') }