[JAVA-5956] Replace sample jars with smaller libs
This commit is contained in:
parent
b42f71b08d
commit
8d391d6d05
@ -3,6 +3,11 @@ plugins {
|
|||||||
id 'org.springframework.boot' version '2.3.4.RELEASE'
|
id 'org.springframework.boot' version '2.3.4.RELEASE'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ext {
|
||||||
|
springBootVersion = '2.3.4.RELEASE'
|
||||||
|
lombokVersion = '1.18.14'
|
||||||
|
}
|
||||||
|
|
||||||
group = 'com.gradle'
|
group = 'com.gradle'
|
||||||
version = '1.0.0'
|
version = '1.0.0'
|
||||||
sourceCompatibility = '14'
|
sourceCompatibility = '14'
|
||||||
@ -12,19 +17,16 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.springframework.boot:spring-boot-starter:2.3.4.RELEASE'
|
implementation "org.springframework.boot:spring-boot-starter:${springBootVersion}"
|
||||||
|
|
||||||
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.3.4.RELEASE'
|
compileOnly "org.projectlombok:lombok:${lombokVersion}"
|
||||||
|
|
||||||
compileOnly 'org.projectlombok:lombok:1.18.14'
|
|
||||||
|
|
||||||
testCompileOnly 'org.projectlombok:lombok:1.18.14'
|
|
||||||
|
|
||||||
runtimeOnly files('libs/sampleOne.jar', 'libs/sampleTwo.jar')
|
runtimeOnly files('libs/sampleOne.jar', 'libs/sampleTwo.jar')
|
||||||
|
runtimeOnly fileTree("libs") { include "*.jar" }
|
||||||
|
|
||||||
runtimeOnly fileTree('libs') { include '*.jar' }
|
testImplementation "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
|
||||||
|
|
||||||
// implementation gradleApi()
|
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
BIN
gradle/gradle-dependency-management/libs/sampleOne.jar
Normal file
BIN
gradle/gradle-dependency-management/libs/sampleOne.jar
Normal file
Binary file not shown.
BIN
gradle/gradle-dependency-management/libs/sampleTwo.jar
Normal file
BIN
gradle/gradle-dependency-management/libs/sampleTwo.jar
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user