2020-09-27 12:37:50 -04:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2020-10-09 06:41:53 -04:00
|
|
|
id 'org.springframework.boot' version '2.3.4.RELEASE'
|
2020-09-27 12:37:50 -04:00
|
|
|
}
|
|
|
|
|
2021-08-18 08:02:59 -04:00
|
|
|
ext {
|
|
|
|
springBootVersion = '2.3.4.RELEASE'
|
|
|
|
lombokVersion = '1.18.14'
|
|
|
|
}
|
|
|
|
|
2020-09-27 12:37:50 -04:00
|
|
|
group = 'com.gradle'
|
|
|
|
version = '1.0.0'
|
|
|
|
sourceCompatibility = '14'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-08-18 08:02:59 -04:00
|
|
|
implementation "org.springframework.boot:spring-boot-starter:${springBootVersion}"
|
2020-10-09 06:41:53 -04:00
|
|
|
|
2021-08-18 08:02:59 -04:00
|
|
|
compileOnly "org.projectlombok:lombok:${lombokVersion}"
|
2020-10-09 06:41:53 -04:00
|
|
|
|
|
|
|
runtimeOnly files('libs/sampleOne.jar', 'libs/sampleTwo.jar')
|
2021-08-18 08:02:59 -04:00
|
|
|
runtimeOnly fileTree("libs") { include "*.jar" }
|
|
|
|
|
|
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
|
2020-09-27 12:37:50 -04:00
|
|
|
|
2021-08-18 08:02:59 -04:00
|
|
|
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
|
2020-09-27 12:37:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|