Commit 0209cd3e authored by Phillip Webb's avatar Phillip Webb

Polish quote form used in Gradle scripts

Replace Gradle single quote strings with the double quote form
whenever possible. The change helps to being consistency to the
dependencies section where mostly single quotes were used, but
occasionally double quotes were required due to `${}` references.
parent ed6fbc6b
plugins {
id 'org.jetbrains.kotlin.jvm' apply false // https://youtrack.jetbrains.com/issue/KT-30276
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
}
description = 'Spring Boot Build'
description = "Spring Boot Build"
allprojects {
group 'org.springframework.boot'
group "org.springframework.boot"
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 60, 'minutes'
resolutionStrategy.cacheChangingModulesFor 60, "minutes"
}
}
plugins {
id 'java-gradle-plugin'
id 'io.spring.javaformat' version "${javaFormatVersion}"
id 'checkstyle'
id "java-gradle-plugin"
id "io.spring.javaformat" version "${javaFormatVersion}"
id "checkstyle"
}
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/release' }
maven { url "https://repo.spring.io/release" }
}
sourceCompatibility = 1.8
......@@ -15,22 +15,22 @@ targetCompatibility = 1.8
dependencies {
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.10.0'
implementation 'commons-codec:commons-codec:1.13'
implementation 'org.apache.maven:maven-embedder:3.6.2'
implementation 'org.asciidoctor:asciidoctor-gradle-jvm:2.4.0'
implementation 'org.springframework:spring-core:5.2.2.RELEASE'
implementation 'org.springframework:spring-web:5.2.2.RELEASE'
implementation 'com.google.code.gson:gson:2.8.5'
implementation "com.fasterxml.jackson.core:jackson-databind:2.10.0"
implementation "commons-codec:commons-codec:1.13"
implementation "org.apache.maven:maven-embedder:3.6.2"
implementation "org.asciidoctor:asciidoctor-gradle-jvm:2.4.0"
implementation "org.springframework:spring-core:5.2.2.RELEASE"
implementation "org.springframework:spring-web:5.2.2.RELEASE"
implementation "com.google.code.gson:gson:2.8.5"
implementation "io.spring.javaformat:spring-javaformat-gradle-plugin:${javaFormatVersion}"
testImplementation 'org.assertj:assertj-core:3.11.1'
testImplementation 'org.apache.logging.log4j:log4j-core:2.12.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.2'
testImplementation "org.assertj:assertj-core:3.11.1"
testImplementation "org.apache.logging.log4j:log4j-core:2.12.1"
testImplementation "org.junit.jupiter:junit-jupiter:5.5.2"
}
checkstyle {
def archive = configurations.checkstyle.filter { it.name.startsWith('spring-javaformat-checkstyle')}
config = resources.text.fromArchiveEntry(archive, 'io/spring/javaformat/checkstyle/checkstyle.xml')
def archive = configurations.checkstyle.filter { it.name.startsWith("spring-javaformat-checkstyle")}
config = resources.text.fromArchiveEntry(archive, "io/spring/javaformat/checkstyle/checkstyle.xml")
toolVersion = 8.11
}
......
......@@ -5,7 +5,7 @@ pluginManagement {
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == 'io.spring.javaformat') {
if (requested.id.id == "io.spring.javaformat") {
useModule "io.spring.javaformat:spring-javaformat-gradle-plugin:${requested.version}"
}
}
......
......@@ -4,9 +4,9 @@ buildCache {
}
remote(HttpBuildCache) {
enabled = true
url = 'https://ge.spring.io/cache/'
def cacheUsername = System.getenv('GRADLE_ENTERPRISE_CACHE_USERNAME')
def cachePassword = System.getenv('GRADLE_ENTERPRISE_CACHE_PASSWORD')
url = "https://ge.spring.io/cache/"
def cacheUsername = System.getenv("GRADLE_ENTERPRISE_CACHE_USERNAME")
def cachePassword = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD")
if (cacheUsername && cachePassword) {
push = true
credentials {
......
......@@ -5,57 +5,57 @@ tagCiOrLocal()
addGitMetadata()
void tagOs() {
gradleEnterprise.buildScan.tag System.getProperty('os.name')
gradleEnterprise.buildScan.tag System.getProperty("os.name")
}
void tagJdk() {
gradleEnterprise.buildScan.tag "JDK-${System.getProperty('java.specification.version')}"
gradleEnterprise.buildScan.tag "JDK-" + System.getProperty('java.specification.version')
}
void tagIde() {
if (System.getProperty('idea.version')) {
gradleEnterprise.buildScan.tag 'IntelliJ IDEA'
} else if (System.getProperty('eclipse.buildId')) {
gradleEnterprise.buildScan.tag 'Eclipse'
if (System.getProperty("idea.version")) {
gradleEnterprise.buildScan.tag "IntelliJ IDEA"
} else if (System.getProperty("eclipse.buildId")) {
gradleEnterprise.buildScan.tag "Eclipse"
}
}
void tagCiOrLocal() {
gradleEnterprise.buildScan.tag(isCi() ? 'CI' : 'LOCAL')
gradleEnterprise.buildScan.tag(isCi() ? "CI" : "LOCAL")
}
void addGitMetadata() {
gradleEnterprise.buildScan.background {
def gitCommitId = execAndGetStdout('git', 'rev-parse', '--short=8', '--verify', 'HEAD')
def gitCommitId = execAndGetStdout("git", "rev-parse", "--short=8", "--verify", "HEAD")
def gitBranchName = getBranch()
def gitStatus = execAndGetStdout('git', 'status', '--porcelain')
def gitStatus = execAndGetStdout("git", "status", "--porcelain")
if(gitCommitId) {
def commitIdLabel = 'Git Commit ID'
def commitIdLabel = "Git Commit ID"
value commitIdLabel, gitCommitId
link 'Git commit build scans', customValueSearchUrl([(commitIdLabel): gitCommitId])
link "Git commit build scans", customValueSearchUrl([(commitIdLabel): gitCommitId])
}
if (gitBranchName) {
tag gitBranchName
value 'Git branch', gitBranchName
value "Git branch", gitBranchName
}
if (gitStatus) {
tag 'dirty'
value 'Git status', gitStatus
tag "dirty"
value "Git status", gitStatus
}
}
}
boolean isCi() {
System.getenv('CI')
System.getenv("CI")
}
String getBranch() {
def branch = System.getenv('BRANCH')
def branch = System.getenv("BRANCH")
if (branch) {
return branch
}
return execAndGetStdout('git', 'rev-parse', '--abbrev-ref', 'HEAD')
return execAndGetStdout("git", "rev-parse", "--abbrev-ref", "HEAD")
}
String execAndGetStdout(String... args) {
......@@ -70,11 +70,11 @@ String execAndGetStdout(String... args) {
String customValueSearchUrl(Map<String, String> search) {
def query = search.collect { name, value ->
"search.names=${encodeURL(name)}&search.values=${encodeURL(value)}"
}.join('&')
}.join("&")
"${gradleEnterprise.buildScan.server}/scans?${query}"
}
String encodeURL(String url) {
URLEncoder.encode(url, 'UTF-8')
URLEncoder.encode(url, "UTF-8")
}
......@@ -2,14 +2,14 @@ pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/snapshot' }
maven { url "https://repo.spring.io/snapshot" }
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == 'org.jetbrains.kotlin.jvm') {
if (requested.id.id == "org.jetbrains.kotlin.jvm") {
useVersion "${kotlinVersion}"
}
if (requested.id.id == 'org.jetbrains.kotlin.plugin.spring') {
if (requested.id.id == "org.jetbrains.kotlin.plugin.spring") {
useVersion "${kotlinVersion}"
}
}
......@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gradle.enterprise' version '3.1.1'
id "com.gradle.enterprise" version "3.1.1"
}
apply from: "${rootDir}/gradle/build-scan-user-data.gradle"
......@@ -25,45 +25,45 @@ gradleEnterprise {
buildScan {
captureTaskInputFiles = true
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> '0.0.0.0'} }
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
publishAlways()
publishIfAuthenticated()
server = 'https://ge.spring.io'
server = "https://ge.spring.io"
}
}
apply from: "${settingsDir}/gradle/build-cache-settings.gradle"
rootProject.name='spring-boot-build'
rootProject.name="spring-boot-build"
include 'spring-boot-project:spring-boot-dependencies'
include 'spring-boot-project:spring-boot-parent'
include 'spring-boot-project:spring-boot-tools:spring-boot-antlib'
include 'spring-boot-project:spring-boot-tools:spring-boot-autoconfigure-processor'
include 'spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform'
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata'
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-processor'
include 'spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin'
include 'spring-boot-project:spring-boot-tools:spring-boot-layertools'
include 'spring-boot-project:spring-boot-tools:spring-boot-loader'
include 'spring-boot-project:spring-boot-tools:spring-boot-loader-tools'
include 'spring-boot-project:spring-boot-tools:spring-boot-maven-plugin'
include 'spring-boot-project:spring-boot-tools:spring-boot-test-support'
include 'spring-boot-project:spring-boot'
include 'spring-boot-project:spring-boot-autoconfigure'
include 'spring-boot-project:spring-boot-actuator'
include 'spring-boot-project:spring-boot-actuator-autoconfigure'
include 'spring-boot-project:spring-boot-cli'
include 'spring-boot-project:spring-boot-devtools'
include 'spring-boot-project:spring-boot-docs'
include 'spring-boot-project:spring-boot-properties-migrator'
include 'spring-boot-project:spring-boot-test'
include 'spring-boot-project:spring-boot-test-autoconfigure'
include 'spring-boot-tests:spring-boot-deployment-tests'
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests'
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests'
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-server-tests'
include "spring-boot-project:spring-boot-dependencies"
include "spring-boot-project:spring-boot-parent"
include "spring-boot-project:spring-boot-tools:spring-boot-antlib"
include "spring-boot-project:spring-boot-tools:spring-boot-autoconfigure-processor"
include "spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform"
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-processor"
include "spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin"
include "spring-boot-project:spring-boot-tools:spring-boot-layertools"
include "spring-boot-project:spring-boot-tools:spring-boot-loader"
include "spring-boot-project:spring-boot-tools:spring-boot-loader-tools"
include "spring-boot-project:spring-boot-tools:spring-boot-maven-plugin"
include "spring-boot-project:spring-boot-tools:spring-boot-test-support"
include "spring-boot-project:spring-boot"
include "spring-boot-project:spring-boot-autoconfigure"
include "spring-boot-project:spring-boot-actuator"
include "spring-boot-project:spring-boot-actuator-autoconfigure"
include "spring-boot-project:spring-boot-cli"
include "spring-boot-project:spring-boot-devtools"
include "spring-boot-project:spring-boot-docs"
include "spring-boot-project:spring-boot-properties-migrator"
include "spring-boot-project:spring-boot-test"
include "spring-boot-project:spring-boot-test-autoconfigure"
include "spring-boot-tests:spring-boot-deployment-tests"
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests"
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests"
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-server-tests"
file("${rootDir}/spring-boot-project/spring-boot-starters").eachDirMatch(~/spring-boot-starter.*/) {
include "spring-boot-project:spring-boot-starters:${it.name}"
......
plugins {
id 'java-library'
id 'org.springframework.boot.conventions'
id 'org.springframework.boot.configuration-properties'
id 'org.springframework.boot.optional-dependencies'
id 'org.springframework.boot.deployed'
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.optional-dependencies"
id "org.springframework.boot.deployed"
}
description = 'Spring Boot Actuator'
description = "Spring Boot Actuator"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api platform(project(":spring-boot-project:spring-boot-dependencies"))
implementation project(':spring-boot-project:spring-boot')
implementation project(":spring-boot-project:spring-boot")
optional platform(project(':spring-boot-project:spring-boot-dependencies'))
optional 'com.fasterxml.jackson.core:jackson-databind'
optional 'com.github.ben-manes.caffeine:caffeine'
optional 'com.hazelcast:hazelcast'
optional 'com.hazelcast:hazelcast-spring'
optional 'com.sun.mail:jakarta.mail'
optional 'com.zaxxer:HikariCP'
optional 'io.lettuce:lettuce-core'
optional 'io.micrometer:micrometer-core'
optional 'io.micrometer:micrometer-registry-prometheus'
optional 'io.prometheus:simpleclient_pushgateway'
optional 'io.reactivex:rxjava-reactive-streams'
optional 'org.elasticsearch.client:elasticsearch-rest-client'
optional ('io.undertow:undertow-servlet') {
exclude group: 'org.jboss.spec.javax.annotation', module: 'jboss-annotations-api_1.2_spec'
exclude group: 'org.jboss.spec.javax.servlet', module: 'jboss-servlet-api_4.0_spec'
optional platform(project(":spring-boot-project:spring-boot-dependencies"))
optional "com.fasterxml.jackson.core:jackson-databind"
optional "com.github.ben-manes.caffeine:caffeine"
optional "com.hazelcast:hazelcast"
optional "com.hazelcast:hazelcast-spring"
optional "com.sun.mail:jakarta.mail"
optional "com.zaxxer:HikariCP"
optional "io.lettuce:lettuce-core"
optional "io.micrometer:micrometer-core"
optional "io.micrometer:micrometer-registry-prometheus"
optional "io.prometheus:simpleclient_pushgateway"
optional "io.reactivex:rxjava-reactive-streams"
optional "org.elasticsearch.client:elasticsearch-rest-client"
optional ("io.undertow:undertow-servlet") {
exclude group: "org.jboss.spec.javax.annotation", module: "jboss-annotations-api_1.2_spec"
exclude group: "org.jboss.spec.javax.servlet", module: "jboss-servlet-api_4.0_spec"
}
optional 'javax.cache:cache-api'
optional 'javax.jms:javax.jms-api'
optional 'net.sf.ehcache:ehcache'
optional 'org.apache.tomcat.embed:tomcat-embed-core'
optional 'org.aspectj:aspectjweaver'
optional 'org.eclipse.jetty:jetty-server'
optional 'org.elasticsearch:elasticsearch'
optional 'org.flywaydb:flyway-core'
optional 'org.glassfish.jersey.core:jersey-server'
optional 'org.glassfish.jersey.containers:jersey-container-servlet-core'
optional 'org.hibernate.validator:hibernate-validator'
optional 'org.influxdb:influxdb-java'
optional 'org.liquibase:liquibase-core'
optional 'org.mongodb:mongodb-driver-async'
optional 'org.mongodb:mongodb-driver-reactivestreams'
optional 'org.springframework:spring-jdbc'
optional 'org.springframework:spring-messaging'
optional 'org.springframework:spring-webflux'
optional 'org.springframework:spring-web'
optional 'org.springframework:spring-webmvc'
optional 'org.springframework.amqp:spring-rabbit'
optional 'org.springframework.data:spring-data-cassandra'
optional 'org.springframework.data:spring-data-couchbase'
optional 'org.springframework.data:spring-data-ldap'
optional 'org.springframework.data:spring-data-mongodb'
optional 'org.springframework.data:spring-data-neo4j'
optional 'org.springframework.data:spring-data-redis'
optional 'org.springframework.data:spring-data-rest-webmvc'
optional 'org.springframework.data:spring-data-solr'
optional 'org.springframework.integration:spring-integration-core'
optional 'org.springframework.security:spring-security-core'
optional 'org.springframework.security:spring-security-web'
optional 'org.springframework.session:spring-session-core'
optional "javax.cache:cache-api"
optional "javax.jms:javax.jms-api"
optional "net.sf.ehcache:ehcache"
optional "org.apache.tomcat.embed:tomcat-embed-core"
optional "org.aspectj:aspectjweaver"
optional "org.eclipse.jetty:jetty-server"
optional "org.elasticsearch:elasticsearch"
optional "org.flywaydb:flyway-core"
optional "org.glassfish.jersey.core:jersey-server"
optional "org.glassfish.jersey.containers:jersey-container-servlet-core"
optional "org.hibernate.validator:hibernate-validator"
optional "org.influxdb:influxdb-java"
optional "org.liquibase:liquibase-core"
optional "org.mongodb:mongodb-driver-async"
optional "org.mongodb:mongodb-driver-reactivestreams"
optional "org.springframework:spring-jdbc"
optional "org.springframework:spring-messaging"
optional "org.springframework:spring-webflux"
optional "org.springframework:spring-web"
optional "org.springframework:spring-webmvc"
optional "org.springframework.amqp:spring-rabbit"
optional "org.springframework.data:spring-data-cassandra"
optional "org.springframework.data:spring-data-couchbase"
optional "org.springframework.data:spring-data-ldap"
optional "org.springframework.data:spring-data-mongodb"
optional "org.springframework.data:spring-data-neo4j"
optional "org.springframework.data:spring-data-redis"
optional "org.springframework.data:spring-data-rest-webmvc"
optional "org.springframework.data:spring-data-solr"
optional "org.springframework.integration:spring-integration-core"
optional "org.springframework.security:spring-security-core"
optional "org.springframework.security:spring-security-web"
optional "org.springframework.session:spring-session-core"
testImplementation project(':spring-boot-project:spring-boot-test')
testImplementation project(':spring-boot-project:spring-boot-tools:spring-boot-test-support')
testImplementation project(':spring-boot-project:spring-boot-autoconfigure')
testImplementation 'org.assertj:assertj-core'
testImplementation 'com.jayway.jsonpath:json-path'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.apache.logging.log4j:log4j-to-slf4j'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.glassfish.jersey.media:jersey-media-json-jackson'
testImplementation 'org.hamcrest:hamcrest'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter'
testImplementation 'org.skyscreamer:jsonassert'
testImplementation 'org.springframework:spring-test'
testImplementation project(":spring-boot-project:spring-boot-test")
testImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")
testImplementation project(":spring-boot-project:spring-boot-autoconfigure")
testImplementation "org.assertj:assertj-core"
testImplementation "com.jayway.jsonpath:json-path"
testImplementation "io.projectreactor:reactor-test"
testImplementation "org.apache.logging.log4j:log4j-to-slf4j"
testImplementation "org.awaitility:awaitility"
testImplementation "org.glassfish.jersey.media:jersey-media-json-jackson"
testImplementation "org.hamcrest:hamcrest"
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "org.mockito:mockito-core"
testImplementation "org.mockito:mockito-junit-jupiter"
testImplementation "org.skyscreamer:jsonassert"
testImplementation "org.springframework:spring-test"
testRuntimeOnly 'io.projectreactor.netty:reactor-netty'
testRuntimeOnly 'javax.xml.bind:jaxb-api'
testRuntimeOnly 'org.apache.tomcat.embed:tomcat-embed-el'
testRuntimeOnly 'org.glassfish.jersey.ext:jersey-spring4'
testRuntimeOnly 'org.hsqldb:hsqldb'
testRuntimeOnly "io.projectreactor.netty:reactor-netty"
testRuntimeOnly "javax.xml.bind:jaxb-api"
testRuntimeOnly "org.apache.tomcat.embed:tomcat-embed-el"
testRuntimeOnly "org.glassfish.jersey.ext:jersey-spring4"
testRuntimeOnly "org.hsqldb:hsqldb"
}
compileJava {
options.compilerArgs << '-parameters'
options.compilerArgs << "-parameters"
}
compileTestJava {
options.compilerArgs << '-parameters'
options.compilerArgs << "-parameters"
}
\ No newline at end of file
plugins {
id 'java-library'
id 'org.springframework.boot.auto-configuration'
id 'org.springframework.boot.conventions'
id 'org.springframework.boot.deployed'
id 'org.springframework.boot.integration-test'
id 'org.springframework.boot.internal-dependency-management'
id 'org.springframework.boot.optional-dependencies'
id "java-library"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.integration-test"
id "org.springframework.boot.internal-dependency-management"
id "org.springframework.boot.optional-dependencies"
}
description = 'Spring Boot Developer Tools'
description = "Spring Boot Developer Tools"
configurations {
intTestDependencies
}
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api platform(project(":spring-boot-project:spring-boot-dependencies"))
implementation project(':spring-boot-project:spring-boot')
implementation project(':spring-boot-project:spring-boot-autoconfigure')
implementation project(":spring-boot-project:spring-boot")
implementation project(":spring-boot-project:spring-boot-autoconfigure")
intTestDependencies project(':spring-boot-project:spring-boot-starters:spring-boot-starter-web')
intTestDependencies project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")
intTestImplementation project(':spring-boot-project:spring-boot-autoconfigure')
intTestImplementation project(':spring-boot-project:spring-boot-test')
intTestImplementation project(':spring-boot-project:spring-boot-tools:spring-boot-test-support')
intTestImplementation 'org.apache.httpcomponents:httpclient'
intTestImplementation 'org.assertj:assertj-core'
intTestImplementation 'org.awaitility:awaitility'
intTestImplementation 'org.junit.jupiter:junit-jupiter'
intTestImplementation 'net.bytebuddy:byte-buddy'
intTestRuntimeOnly 'org.springframework:spring-web'
intTestImplementation project(":spring-boot-project:spring-boot-autoconfigure")
intTestImplementation project(":spring-boot-project:spring-boot-test")
intTestImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")
intTestImplementation "org.apache.httpcomponents:httpclient"
intTestImplementation "org.assertj:assertj-core"
intTestImplementation "org.awaitility:awaitility"
intTestImplementation "org.junit.jupiter:junit-jupiter"
intTestImplementation "net.bytebuddy:byte-buddy"
optional platform(project(':spring-boot-project:spring-boot-dependencies'))
optional 'javax.servlet:javax.servlet-api'
optional 'org.apache.derby:derby'
optional 'org.hibernate:hibernate-core'
optional 'org.springframework:spring-jdbc'
optional 'org.springframework:spring-orm'
optional 'org.springframework:spring-web'
optional 'org.springframework.security:spring-security-config'
optional 'org.springframework.security:spring-security-web'
optional 'org.springframework.data:spring-data-redis'
optional 'org.springframework.session:spring-session-core'
intTestRuntimeOnly "org.springframework:spring-web"
testImplementation project(':spring-boot-project:spring-boot-tools:spring-boot-test-support')
testImplementation project(':spring-boot-project:spring-boot-test')
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'com.h2database:h2'
testImplementation 'com.zaxxer:HikariCP'
testImplementation 'org.apache.derby:derbyclient'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-websocket'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.eclipse.jetty.websocket:websocket-client'
testImplementation 'org.hamcrest:hamcrest-library'
testImplementation 'org.hsqldb:hsqldb'
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.postgresql:postgresql'
testImplementation 'org.springframework:spring-test'
testImplementation 'org.springframework:spring-webmvc'
testImplementation 'org.springframework:spring-websocket'
testImplementation 'org.springframework.hateoas:spring-hateoas'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.thymeleaf:thymeleaf'
testImplementation 'org.thymeleaf:thymeleaf-spring5'
testImplementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
optional platform(project(":spring-boot-project:spring-boot-dependencies"))
optional "javax.servlet:javax.servlet-api"
optional "org.apache.derby:derby"
optional "org.hibernate:hibernate-core"
optional "org.springframework:spring-jdbc"
optional "org.springframework:spring-orm"
optional "org.springframework:spring-web"
optional "org.springframework.security:spring-security-config"
optional "org.springframework.security:spring-security-web"
optional "org.springframework.data:spring-data-redis"
optional "org.springframework.session:spring-session-core"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.yaml:snakeyaml'
testImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")
testImplementation project(":spring-boot-project:spring-boot-test")
testImplementation "ch.qos.logback:logback-classic"
testImplementation "com.h2database:h2"
testImplementation "com.zaxxer:HikariCP"
testImplementation "org.apache.derby:derbyclient"
testImplementation "org.apache.tomcat.embed:tomcat-embed-websocket"
testImplementation "org.apache.tomcat.embed:tomcat-embed-core"
testImplementation "org.apache.tomcat.embed:tomcat-embed-jasper"
testImplementation "org.assertj:assertj-core"
testImplementation "org.awaitility:awaitility"
testImplementation "org.eclipse.jetty.websocket:websocket-client"
testImplementation "org.hamcrest:hamcrest-library"
testImplementation "org.hsqldb:hsqldb"
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "org.mockito:mockito-core"
testImplementation "org.postgresql:postgresql"
testImplementation "org.springframework:spring-test"
testImplementation "org.springframework:spring-webmvc"
testImplementation "org.springframework:spring-websocket"
testImplementation "org.springframework.hateoas:spring-hateoas"
testImplementation "org.springframework.security:spring-security-test"
testImplementation "org.thymeleaf:thymeleaf"
testImplementation "org.thymeleaf:thymeleaf-spring5"
testImplementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testRuntimeOnly "org.yaml:snakeyaml"
}
task copyIntTestDependencies(type: Copy) {
......
plugins {
id 'java-platform'
id 'org.springframework.boot.conventions'
id 'org.springframework.boot.deployed'
id "java-platform"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}
description = 'Spring Boot Parent'
description = "Spring Boot Parent"
javaPlatform {
allowDependencies()
......@@ -12,30 +12,31 @@ javaPlatform {
dependencies {
api enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))
api enforcedPlatform('org.testcontainers:testcontainers-bom:1.12.4')
api enforcedPlatform("org.testcontainers:testcontainers-bom:1.12.4")
constraints {
api 'com.vaadin.external.google:android-json:0.0.20131108.vaadin1'
api 'commons-fileupload:commons-fileupload:1.4'
api 'io.mockk:mockk:1.9.3'
api 'jline:jline:2.11'
api 'net.sf.jopt-simple:jopt-simple:5.0.4'
api 'org.apache.commons:commons-compress:1.19'
api 'org.apache.maven:maven-plugin-api:3.6.3'
api 'org.apache.maven:maven-resolver-provider:3.6.3'
api 'org.apache.maven:maven-settings-builder:3.6.3'
api 'org.apache.maven.resolver:maven-resolver-connector-basic:1.4.1'
api 'org.apache.maven.resolver:maven-resolver-impl:1.4.1'
api 'org.apache.maven.resolver:maven-resolver-transport-file:1.4.1'
api 'org.apache.maven.resolver:maven-resolver-transport-http:1.4.1'
api 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.6.0'
api 'org.apache.maven.plugins:maven-shade-plugin:3.2.1'
api 'org.apache.maven.shared:maven-common-artifact-filters:3.1.0'
api 'org.apache.maven.shared:maven-invoker:3.0.1'
api 'org.sonatype.plexus:plexus-build-api:0.0.7'
api 'org.sonatype.plexus:plexus-sec-dispatcher:1.4'
api 'org.sonatype.sisu:sisu-inject-plexus:2.6.0'
api 'org.spockframework:spock-core:1.3-groovy-2.5'
api 'org.spockframework:spock-spring:1.3-groovy-2.5'
api 'org.testng:testng:6.14.3'
api "com.vaadin.external.google:android-json:0.0.20131108.vaadin1"
api "commons-fileupload:commons-fileupload:1.4"
api "io.mockk:mockk:1.9.3"
api "jline:jline:2.11"
api "net.sf.jopt-simple:jopt-simple:5.0.4"
api "org.apache.commons:commons-compress:1.19"
api "org.apache.maven:maven-plugin-api:3.6.3"
api "org.apache.maven:maven-resolver-provider:3.6.3"
api "org.apache.maven:maven-settings-builder:3.6.3"
api "org.apache.maven.resolver:maven-resolver-connector-basic:1.4.1"
api "org.apache.maven.resolver:maven-resolver-impl:1.4.1"
api "org.apache.maven.resolver:maven-resolver-transport-file:1.4.1"
api "org.apache.maven.resolver:maven-resolver-transport-http:1.4.1"
api "org.apache.maven.plugin-tools:maven-plugin-annotations:3.6.0"
api "org.apache.maven.plugins:maven-shade-plugin:3.2.1"
api "org.apache.maven.shared:maven-common-artifact-filters:3.1.0"
api "org.apache.maven.shared:maven-invoker:3.0.1"
api "org.sonatype.plexus:plexus-build-api:0.0.7"
api "org.sonatype.plexus:plexus-sec-dispatcher:1.4"
api "org.sonatype.sisu:sisu-inject-plexus:2.6.0"
api "org.spockframework:spock-core:1.3-groovy-2.5"
api "org.spockframework:spock-spring:1.3-groovy-2.5"
api "org.testng:testng:6.14.3"
}
}
\ No newline at end of file
plugins {
id 'java-library'
id 'maven-publish'
id 'org.springframework.boot.conventions'
id 'org.springframework.boot.internal-dependency-management'
id "java-library"
id "maven-publish"
id "org.springframework.boot.conventions"
id "org.springframework.boot.internal-dependency-management"
}
description = 'Spring Boot Properties Migrator'
description = "Spring Boot Properties Migrator"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api platform(project(":spring-boot-project:spring-boot-dependencies"))
implementation project(':spring-boot-project:spring-boot')
implementation project(':spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata')
implementation project(":spring-boot-project:spring-boot")
implementation project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata")
testImplementation project(':spring-boot-project:spring-boot-test')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.springframework:spring-test'
testImplementation project(":spring-boot-project:spring-boot-test")
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "org.assertj:assertj-core"
testImplementation "org.springframework:spring-test"
}
\ No newline at end of file
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for JMS messaging using Apache ActiveMQ"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-jms'
api ('org.apache.activemq:activemq-broker') {
exclude group: 'org.apache.geronimo.specs', module: 'geronimo-jms_1.1_spec'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-jms"
api ("org.apache.activemq:activemq-broker") {
exclude group: "org.apache.geronimo.specs", module: "geronimo-jms_1.1_spec"
}
api 'jakarta.jms:jakarta.jms-api'
api "jakarta.jms:jakarta.jms-api"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Boot's Actuator which provides production ready features to help you monitor and manage your application"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api project(':spring-boot-project:spring-boot-actuator-autoconfigure')
api 'io.micrometer:micrometer-core'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api project(":spring-boot-project:spring-boot-actuator-autoconfigure")
api "io.micrometer:micrometer-core"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring AMQP and Rabbit MQ"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-messaging'
api 'org.springframework.amqp:spring-rabbit'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-messaging"
api "org.springframework.amqp:spring-rabbit"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for aspect-oriented programming with Spring AOP and AspectJ"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-aop'
api 'org.aspectj:aspectjweaver'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-aop"
api "org.aspectj:aspectjweaver"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for JMS messaging using Apache Artemis"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'jakarta.jms:jakarta.jms-api'
api 'jakarta.json:jakarta.json-api'
api 'org.springframework:spring-jms'
api ('org.apache.activemq:artemis-jms-client') {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.apache.geronimo.specs', module: 'geronimo-jms_2.0_spec'
exclude group: 'org.apache.geronimo.specs', module: 'geronimo-json_1.0_spec'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "jakarta.jms:jakarta.jms-api"
api "jakarta.json:jakarta.json-api"
api "org.springframework:spring-jms"
api ("org.apache.activemq:artemis-jms-client") {
exclude group: "commons-logging", module: "commons-logging"
exclude group: "org.apache.geronimo.specs", module: "geronimo-jms_2.0_spec"
exclude group: "org.apache.geronimo.specs", module: "geronimo-json_1.0_spec"
}
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Batch"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc')
api 'org.springframework.batch:spring-batch-core'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc")
api "org.springframework.batch:spring-batch-core"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Framework's caching support"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-context-support'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-context-support"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Cassandra distributed database and Spring Data Cassandra Reactive"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-tx'
api 'org.springframework.data:spring-data-cassandra'
api 'io.projectreactor:reactor-core'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-tx"
api "org.springframework.data:spring-data-cassandra"
api "io.projectreactor:reactor-core"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Cassandra distributed database and Spring Data Cassandra"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework:spring-tx'
api 'org.springframework.data:spring-data-cassandra'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "org.springframework:spring-tx"
api "org.springframework.data:spring-data-cassandra"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Couchbase document-oriented database and Spring Data Couchbase Reactive"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'io.projectreactor:reactor-core'
api 'io.reactivex:rxjava-reactive-streams'
api ('org.springframework.data:spring-data-couchbase') {
exclude group: 'com.couchbase.client', module: 'encryption'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api "io.projectreactor:reactor-core"
api "io.reactivex:rxjava-reactive-streams"
api ("org.springframework.data:spring-data-couchbase") {
exclude group: "com.couchbase.client", module: "encryption"
}
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Couchbase document-oriented database and Spring Data Couchbase"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api ('org.springframework.data:spring-data-couchbase') {
exclude group: 'com.couchbase.client', module: 'encryption'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api ("org.springframework.data:spring-data-couchbase") {
exclude group: "com.couchbase.client", module: "encryption"
}
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api ('org.springframework.data:spring-data-elasticsearch') {
exclude group: 'org.elasticsearch.client', module: 'transport'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter")
api ("org.springframework.data:spring-data-elasticsearch") {
exclude group: "org.elasticsearch.client", module: "transport"
}
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Data JDBC"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc')
api 'org.springframework.data:spring-data-jdbc'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc")
api "org.springframework.data:spring-data-jdbc"
}
plugins {
id 'org.springframework.boot.starter'
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Data JPA with Hibernate"
dependencies {
api platform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter-aop')
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc')
api 'jakarta.transaction:jakarta.transaction-api'
api 'jakarta.persistence:jakarta.persistence-api'
api ('org.hibernate:hibernate-core') {
exclude group: 'javax.activation', module: 'javax.activation-api'
exclude group: 'javax.persistence', module: 'javax.persistence-api'
exclude group: 'javax.xml.bind', module: 'jaxb-api'
exclude group: 'org.jboss.spec.javax.transaction', module: 'jboss-transaction-api_1.2_spec'
api platform(project(":spring-boot-project:spring-boot-dependencies"))
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter-aop")
api project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jdbc")
api "jakarta.transaction:jakarta.transaction-api"
api "jakarta.persistence:jakarta.persistence-api"
api ("org.hibernate:hibernate-core") {
exclude group: "javax.activation", module: "javax.activation-api"
exclude group: "javax.persistence", module: "javax.persistence-api"
exclude group: "javax.xml.bind", module: "jaxb-api"
exclude group: "org.jboss.spec.javax.transaction", module: "jboss-transaction-api_1.2_spec"
}
api ('org.springframework.data:spring-data-jpa') {
exclude group: 'org.aspectj', module: 'aspectjrt'
api ("org.springframework.data:spring-data-jpa") {
exclude group: "org.aspectj", module: "aspectjrt"
}
api 'org.springframework:spring-aspects'
api "org.springframework:spring-aspects"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment