Adapt all SSDG Gradle module build files to Gradle 7.3.

This commit is contained in:
John Blum
2021-11-16 20:47:47 -08:00
parent 11716691a2
commit 56134a0fe1
9 changed files with 102 additions and 88 deletions

View File

@@ -7,16 +7,16 @@ repositories {
dependencies {
testCompile project(':spring-session-data-geode')
testCompile "javax.servlet:javax.servlet-api"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testCompile "org.mockito:mockito-core"
testCompile "edu.umd.cs.mtc:multithreadedtc"
testCompile "org.springframework:spring-test"
testCompile "org.springframework.security:spring-security-core"
testCompile "org.springframework.security:spring-security-test"
testCompile "org.springframework.security:spring-security-web"
testImplementation project(':spring-session-data-geode')
testImplementation "javax.servlet:javax.servlet-api"
testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
testImplementation "org.mockito:mockito-core"
testImplementation "edu.umd.cs.mtc:multithreadedtc"
testImplementation "org.springframework:spring-test"
testImplementation "org.springframework.security:spring-security-core"
testImplementation "org.springframework.security:spring-security-test"
testImplementation "org.springframework.security:spring-security-web"
}

View File

@@ -4,23 +4,23 @@ apply plugin: 'io.spring.convention.spring-sample-boot'
dependencies {
compile project(':spring-session-data-geode')
implementation project(':spring-session-data-geode')
compile("org.springframework.boot:spring-boot-starter-thymeleaf") {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile("org.springframework.boot:spring-boot-starter-web") {
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile "org.springframework.data:spring-data-geode-test"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-locator"
implementation "org.springframework.data:spring-data-geode-test"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-locator"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile("org.springframework.boot:spring-boot-starter-test") {
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
}

View File

@@ -3,27 +3,27 @@ apply plugin: "application"
dependencies {
compile project(':spring-session-data-geode')
implementation project(':spring-session-data-geode')
compile("org.springframework.boot:spring-boot-starter-thymeleaf") {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile("org.springframework.boot:spring-boot-starter-web") {
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile "org.springframework.data:spring-data-geode-test"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-locator"
implementation "org.springframework.data:spring-data-geode-test"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-locator"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile("org.springframework.boot:spring-boot-starter-test") {
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
testCompile seleniumDependencies
testImplementation seleniumDependencies
}

View File

@@ -4,23 +4,23 @@ apply plugin: "application"
dependencies {
compile project(':spring-session-data-geode')
implementation project(':spring-session-data-geode')
compile("org.springframework.boot:spring-boot-starter-thymeleaf") {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile("org.springframework.boot:spring-boot-starter-web") {
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
compile "org.springframework.data:spring-data-geode-test"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-locator"
implementation "org.springframework.data:spring-data-geode-test"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-locator"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile("org.springframework.boot:spring-boot-starter-test") {
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}

View File

@@ -1,23 +1,27 @@
plugins {
id "org.gretty" version "4.0.0"
}
apply plugin: 'io.spring.convention.spring-sample-war'
apply plugin: "gemfire-server"
apply plugin: "application"
dependencies {
compile project(':spring-session-data-geode')
compile "org.springframework:spring-web"
compile "org.springframework.data:spring-data-geode-test"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-taglib"
compile jstlDependencies
compile slf4jDependencies
implementation project(':spring-session-data-geode')
implementation "org.springframework:spring-web"
implementation "org.springframework.data:spring-data-geode-test"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-taglib"
implementation jstlDependencies
implementation slf4jDependencies
providedCompile "javax.servlet:javax.servlet-api"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
integrationTestCompile seleniumDependencies

View File

@@ -1,20 +1,24 @@
plugins {
id "org.gretty" version "4.0.0"
}
apply plugin: 'io.spring.convention.spring-sample-war'
dependencies {
compile project(':spring-session-data-geode')
compile "org.springframework:spring-web"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-taglib"
compile jstlDependencies
compile slf4jDependencies
implementation project(':spring-session-data-geode')
implementation "org.springframework:spring-web"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-taglib"
implementation jstlDependencies
implementation slf4jDependencies
providedCompile "javax.servlet:javax.servlet-api"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
integrationTestCompile seleniumDependencies

View File

@@ -1,23 +1,27 @@
plugins {
id "org.gretty" version "4.0.0"
}
apply plugin: 'io.spring.convention.spring-sample-war'
apply plugin: "gemfire-server"
apply plugin: "application"
dependencies {
compile project(':spring-session-data-geode')
compile "org.springframework:spring-web"
compile "org.springframework.data:spring-data-geode-test"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-taglib"
compile jstlDependencies
compile slf4jDependencies
implementation project(':spring-session-data-geode')
implementation "org.springframework:spring-web"
implementation "org.springframework.data:spring-data-geode-test"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-taglib"
implementation jstlDependencies
implementation slf4jDependencies
providedCompile "javax.servlet:javax.servlet-api"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
integrationTestCompile seleniumDependencies

View File

@@ -1,20 +1,24 @@
plugins {
id "org.gretty" version "4.0.0"
}
apply plugin: 'io.spring.convention.spring-sample-war'
dependencies {
compile project(':spring-session-data-geode')
compile "org.springframework:spring-web"
compile "org.webjars:bootstrap"
compile "org.webjars:webjars-taglib"
compile jstlDependencies
compile slf4jDependencies
implementation project(':spring-session-data-geode')
implementation "org.springframework:spring-web"
implementation "org.webjars:bootstrap"
implementation "org.webjars:webjars-taglib"
implementation jstlDependencies
implementation slf4jDependencies
providedCompile "javax.servlet:javax.servlet-api"
runtime "org.springframework.shell:spring-shell"
runtimeOnly "org.springframework.shell:spring-shell"
testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
integrationTestCompile seleniumDependencies

View File

@@ -3,17 +3,17 @@ plugins {
}
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
//apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Session for Apache Geode"
dependencies {
compile "org.springframework:spring-context-support"
compile "org.springframework:spring-jcl"
compile "org.springframework.data:spring-data-geode"
compile "org.springframework.session:spring-session-core"
compile slf4jDependencies
implementation "org.springframework:spring-context-support"
implementation "org.springframework:spring-jcl"
implementation "org.springframework.data:spring-data-geode"
implementation "org.springframework.session:spring-session-core"
implementation slf4jDependencies
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
@@ -27,15 +27,13 @@ dependencies {
provided "org.apache.geode:geode-logging:$apacheGeodeVersion"
provided "org.apache.geode:geode-serialization:$apacheGeodeVersion" // Need for Geode Serialization
testCompile "org.assertj:assertj-core"
testCompile "junit:junit"
testCompile "org.mockito:mockito-core"
testCompile "edu.umd.cs.mtc:multithreadedtc"
testCompile "org.springframework:spring-test"
testCompile "org.springframework:spring-web"
testCompile "org.springframework.data:spring-data-geode-test"
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
testImplementation "org.assertj:assertj-core"
testImplementation "junit:junit"
testImplementation "org.mockito:mockito-core"
testImplementation "edu.umd.cs.mtc:multithreadedtc"
testImplementation "org.springframework:spring-test"
testImplementation "org.springframework:spring-web"
testImplementation "org.springframework.data:spring-data-geode-test"
testRuntime "ch.qos.logback:logback-classic"
testRuntime "org.apache.logging.log4j:log4j-to-slf4j"