diff --git a/aws-serverless-jersey-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-jersey-archetype/src/main/resources/archetype-resources/build.gradle index e9324e090..fef30c66d 100644 --- a/aws-serverless-jersey-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-jersey-archetype/src/main/resources/archetype-resources/build.gradle @@ -6,24 +6,24 @@ repositories { } dependencies { - compile ( + implementation ( 'com.amazonaws:aws-lambda-java-core:1.2.0', 'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.0,)', 'com.fasterxml.jackson.core:jackson-databind:2.9.10', 'io.symphonia:lambda-logging:1.0.1' ) - compile("org.glassfish.jersey.media:jersey-media-json-jackson:2.29.1") { + implementation("org.glassfish.jersey.media:jersey-media-json-jackson:2.29.1") { exclude group: 'com.fasterxml.jackson.core', module: "jackson-annotations" exclude group: 'com.fasterxml.jackson.core', module: "jackson-databind" exclude group: 'com.fasterxml.jackson.core', module: "jackson-core" } - compile("org.glassfish.jersey.inject:jersey-hk2:2.29.1") { + implementation("org.glassfish.jersey.inject:jersey-hk2:2.29.1") { exclude group: 'javax.inject', module: "javax.inject" } - testCompile("junit:junit:4.12") + testImplementation("junit:junit:4.12") } task buildZip(type: Zip) { diff --git a/aws-serverless-spark-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-spark-archetype/src/main/resources/archetype-resources/build.gradle index e9207f0a4..9e3d10aa6 100644 --- a/aws-serverless-spark-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-spark-archetype/src/main/resources/archetype-resources/build.gradle @@ -6,14 +6,14 @@ repositories { } dependencies { - compile ( + implementation ( 'com.sparkjava:spark-core:2.9.1', 'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.0,)', 'com.fasterxml.jackson.core:jackson-databind:2.12.0', 'io.symphonia:lambda-logging:1.0.1' ) - testCompile("junit:junit:4.12") + testImplementation("junit:junit:4.12") } task buildZip(type: Zip) { diff --git a/aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle index b47603348..ae04aa9c8 100644 --- a/aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle @@ -6,7 +6,7 @@ repositories { } dependencies { - compile ( + implementation ( 'org.springframework:spring-webmvc:5.2.16.RELEASE', 'org.springframework:spring-context:5.2.16.RELEASE', 'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)', @@ -17,7 +17,7 @@ dependencies { 'com.amazonaws:aws-lambda-java-log4j2:1.1.0', ) - testCompile("junit:junit:4.12") + testImplementation("junit:junit:4.12") } task buildZip(type: Zip) { diff --git a/aws-serverless-springboot-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-springboot-archetype/src/main/resources/archetype-resources/build.gradle index 2a95fdaf4..584c41021 100644 --- a/aws-serverless-springboot-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-springboot-archetype/src/main/resources/archetype-resources/build.gradle @@ -7,13 +7,13 @@ repositories { } dependencies { - compile ( + implementation ( 'org.springframework.boot:spring-boot-starter-web:1.5.22.RELEASE', 'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)', 'io.symphonia:lambda-logging:1.0.1' ) - testCompile("junit:junit:4.12") + testImplementation("junit:junit:4.12") } task buildZip(type: Zip) { diff --git a/aws-serverless-springboot2-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-springboot2-archetype/src/main/resources/archetype-resources/build.gradle index 66ba6d9a2..4ef18a41c 100644 --- a/aws-serverless-springboot2-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-springboot2-archetype/src/main/resources/archetype-resources/build.gradle @@ -7,13 +7,13 @@ repositories { } dependencies { - compile ( + implementation ( 'org.springframework.boot:spring-boot-starter-web:2.2.6.RELEASE', 'com.amazonaws.serverless:aws-serverless-java-container-springboot2:[1.0,)', 'io.symphonia:lambda-logging:1.0.1' ) - testCompile("junit:junit:4.12") + testImplementation("junit:junit:4.12") } task buildZip(type: Zip) { diff --git a/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/build.gradle b/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/build.gradle index 5e3d98a1a..de84e9d9e 100644 --- a/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/build.gradle +++ b/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/build.gradle @@ -7,34 +7,34 @@ repositories { dependencies { - compile ('com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)') { + implementation ('com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)') { exclude group: 'org.apache.struts', module: 'struts2-core' exclude group: 'org.apache.logging.log4j', module: 'log4j-api' } - compile ('org.apache.struts:struts2-convention-plugin:2.5.22') { + implementation ('org.apache.struts:struts2-convention-plugin:2.5.22') { exclude group: 'org.apache.struts', module: 'struts2-core' } - compile ('org.apache.struts:struts2-rest-plugin:2.5.22') { + implementation ('org.apache.struts:struts2-rest-plugin:2.5.22') { exclude group: 'org.apache.struts', module: 'struts2-core' } - compile ('org.apache.struts:struts2-bean-validation-plugin:2.5.22') { + implementation ('org.apache.struts:struts2-bean-validation-plugin:2.5.22') { exclude group: 'org.apache.struts', module: 'struts2-core' } - compile ('com.jgeppert.struts2:struts2-aws-lambda-support-plugin:1.0.0') { + implementation ('com.jgeppert.struts2:struts2-aws-lambda-support-plugin:1.0.0') { exclude group: 'org.apache.struts', module: 'struts2-core' } - compile ('org.apache.struts:struts2-core:2.5.22') { + implementation ('org.apache.struts:struts2-core:2.5.22') { exclude group: 'org.apache.logging.log4j', module: 'log4j-api' } - compile ('org.hibernate:hibernate-validator:4.3.2.Final') - compile ('com.fasterxml.jackson.core:jackson-databind:2.12.0') - compile ('org.apache.logging.log4j:log4j-core:2.8.2') - compile ('org.apache.logging.log4j:log4j-api:2.8.2') - compile ('org.apache.logging.log4j:log4j-slf4j-impl:2.8.2') - compile ('com.amazonaws:aws-lambda-java-log4j2:1.1.0') + implementation ('org.hibernate:hibernate-validator:4.3.2.Final') + implementation ('com.fasterxml.jackson.core:jackson-databind:2.12.0') + implementation ('org.apache.logging.log4j:log4j-core:2.8.2') + implementation ('org.apache.logging.log4j:log4j-api:2.8.2') + implementation ('org.apache.logging.log4j:log4j-slf4j-impl:2.8.2') + implementation ('com.amazonaws:aws-lambda-java-log4j2:1.1.0') - testCompile('junit:junit:4.12') - testCompile('org.apache.struts:struts2-junit-plugin:2.5.22') { + testImplementation('junit:junit:4.12') + testImplementation('org.apache.struts:struts2-junit-plugin:2.5.22') { exclude group: 'org.apache.struts', module: 'struts2-core' } } diff --git a/samples/jersey/pet-store/build.gradle b/samples/jersey/pet-store/build.gradle index fc9fb549b..1805f9130 100644 --- a/samples/jersey/pet-store/build.gradle +++ b/samples/jersey/pet-store/build.gradle @@ -6,20 +6,20 @@ repositories { } dependencies { - compile ( + implementation ( 'com.amazonaws:aws-lambda-java-core:1.2.0', 'com.amazonaws.serverless:aws-serverless-java-container-jersey:[1.0,)', 'com.fasterxml.jackson.core:jackson-databind:2.12.0', 'io.symphonia:lambda-logging:1.0.1' ) - compile("org.glassfish.jersey.media:jersey-media-json-jackson:2.30.1") { + implementation("org.glassfish.jersey.media:jersey-media-json-jackson:2.30.1") { exclude group: 'com.fasterxml.jackson.core', module: "jackson-annotations" exclude group: 'com.fasterxml.jackson.core', module: "jackson-databind" exclude group: 'com.fasterxml.jackson.core', module: "jackson-core" } - compile("org.glassfish.jersey.inject:jersey-hk2:2.30.1") { + implementation("org.glassfish.jersey.inject:jersey-hk2:2.30.1") { exclude group: 'javax.inject', module: "javax.inject" } } diff --git a/samples/micronaut/pet-store/build.gradle b/samples/micronaut/pet-store/build.gradle index 8ed45b3d7..6282d2d2c 100644 --- a/samples/micronaut/pet-store/build.gradle +++ b/samples/micronaut/pet-store/build.gradle @@ -52,7 +52,7 @@ dependencies { testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" // spring support - compile("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-web") runtime("io.micronaut.spring:micronaut-spring-boot:1.0.1") runtime("io.micronaut.spring:micronaut-spring-web:1.0.1") } diff --git a/samples/spark/pet-store/build.gradle b/samples/spark/pet-store/build.gradle index 1112cc44e..d31916776 100644 --- a/samples/spark/pet-store/build.gradle +++ b/samples/spark/pet-store/build.gradle @@ -6,7 +6,7 @@ repositories { } dependencies { - compile ( + implementation ( 'com.sparkjava:spark-core:2.9.1', 'com.amazonaws.serverless:aws-serverless-java-container-spark:[1.0,)', 'com.fasterxml.jackson.core:jackson-databind:2.12.0', diff --git a/samples/spring/pet-store/build.gradle b/samples/spring/pet-store/build.gradle index 42b855b9a..522556916 100644 --- a/samples/spring/pet-store/build.gradle +++ b/samples/spring/pet-store/build.gradle @@ -6,7 +6,7 @@ repositories { } dependencies { - compile ( + implementation ( 'org.springframework:spring-webmvc:5.2.9.RELEASE', 'org.springframework:spring-context:5.2.9.RELEASE', 'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)', diff --git a/samples/springboot/pet-store/build.gradle b/samples/springboot/pet-store/build.gradle index caaeea89c..4ac22f065 100644 --- a/samples/springboot/pet-store/build.gradle +++ b/samples/springboot/pet-store/build.gradle @@ -7,12 +7,12 @@ repositories { } dependencies { - compile ( + implementation ( 'org.springframework.boot:spring-boot-starter-web:1.5.22.RELEASE', 'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)', 'io.symphonia:lambda-logging:1.0.1' ) - testCompile("junit:junit") + testImplementation("junit:junit") } task buildZip(type: Zip) { diff --git a/samples/springboot2/pet-store/build.gradle b/samples/springboot2/pet-store/build.gradle index 365f3ac22..1ad1ff445 100644 --- a/samples/springboot2/pet-store/build.gradle +++ b/samples/springboot2/pet-store/build.gradle @@ -7,14 +7,14 @@ repositories { } dependencies { - compile ( + implementation ( implementation('org.springframework.boot:spring-boot-starter-web:2.2.6.RELEASE') { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' }, 'com.amazonaws.serverless:aws-serverless-java-container-springboot2:[1.4,)', 'io.symphonia:lambda-logging:1.0.1' ) - testCompile("junit:junit") + testImplementation("junit:junit") } task buildZip(type: Zip) { diff --git a/samples/struts2/pet-store/build.gradle b/samples/struts2/pet-store/build.gradle index 6379166f0..6239be661 100644 --- a/samples/struts2/pet-store/build.gradle +++ b/samples/struts2/pet-store/build.gradle @@ -6,7 +6,7 @@ repositories { } dependencies { - compile ( + implementation ( 'com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)', 'org.apache.struts:struts2-convention-plugin:2.5.22', 'org.apache.struts:struts2-rest-plugin:2.5.22',