33 changed files with 587 additions and 24 deletions
@ -0,0 +1,12 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
println "testAndDevelopmentOnly exists = ${configurations.findByName('testAndDevelopmentOnly') != null}" |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.compileClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.compileClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.runtimeClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.runtimeClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.testCompileClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.testCompileClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.testRuntimeClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
springBoot { |
||||||
|
mainClass = "com.example.Main" |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
gradle.taskGraph.whenReady { |
||||||
|
configurations.testRuntimeClasspath.resolve().each { println it } |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
apply plugin: 'org.graalvm.buildtools.native' |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
task('checkNativeImageClasspath') { |
||||||
|
doFirst { |
||||||
|
tasks.nativeCompile.options.get().classpath.each { println it } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
apply plugin: 'org.springframework.boot.aot' |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
task('processAotClasspath') { |
||||||
|
doFirst { |
||||||
|
tasks.processAot.classpath.each { println it } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
plugins { |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
id 'java' |
||||||
|
} |
||||||
|
|
||||||
|
apply plugin: 'org.springframework.boot.aot' |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
maven { url 'file:repository' } |
||||||
|
} |
||||||
|
|
||||||
|
configurations.all { |
||||||
|
resolutionStrategy { |
||||||
|
eachDependency { |
||||||
|
if (it.requested.group == 'org.springframework.boot') { |
||||||
|
it.useVersion project.bootVersion |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
|
|
||||||
|
task('processTestAotClasspath') { |
||||||
|
doFirst { |
||||||
|
tasks.processTestAot.classpath.each { println it } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,24 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
bootJar { |
||||||
|
mainClass = 'com.example.Application' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.9") |
||||||
|
testAndDevelopmentOnly("commons-io:commons-io:2.6") |
||||||
|
implementation("commons-io:commons-io:2.6") |
||||||
|
} |
||||||
|
|
||||||
|
bootJar { |
||||||
|
layered { |
||||||
|
enabled = false |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
bootJar { |
||||||
|
mainClass = 'com.example.Application' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.9") |
||||||
|
implementation("commons-io:commons-io:2.6") |
||||||
|
} |
||||||
|
|
||||||
|
bootJar { |
||||||
|
classpath configurations.testAndDevelopmentOnly |
||||||
|
} |
||||||
|
|
||||||
|
bootJar { |
||||||
|
layered { |
||||||
|
enabled = false |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,24 @@ |
|||||||
|
plugins { |
||||||
|
id 'war' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
bootWar { |
||||||
|
mainClass = 'com.example.Application' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.9") |
||||||
|
testAndDevelopmentOnly("commons-io:commons-io:2.6") |
||||||
|
implementation("commons-io:commons-io:2.6") |
||||||
|
} |
||||||
|
|
||||||
|
bootWar { |
||||||
|
layered { |
||||||
|
enabled = false |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
plugins { |
||||||
|
id 'war' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
bootWar { |
||||||
|
mainClass = 'com.example.Application' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.9") |
||||||
|
implementation("commons-io:commons-io:2.6") |
||||||
|
} |
||||||
|
|
||||||
|
bootWar { |
||||||
|
classpath configurations.testAndDevelopmentOnly |
||||||
|
} |
||||||
|
|
||||||
|
bootWar { |
||||||
|
layered { |
||||||
|
enabled = false |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
developmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
plugins { |
||||||
|
id 'java' |
||||||
|
id 'org.springframework.boot' version '{version}' |
||||||
|
} |
||||||
|
|
||||||
|
repositories { |
||||||
|
mavenCentral() |
||||||
|
} |
||||||
|
|
||||||
|
dependencies { |
||||||
|
testAndDevelopmentOnly("org.apache.commons:commons-lang3:3.12.0") |
||||||
|
} |
||||||
Loading…
Reference in new issue