java-tutorials/gradle/gradle-dependency-management/build.gradle

33 lines
676 B
Groovy
Raw Normal View History

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
}
group = 'com.gradle'
version = '1.0.0'
sourceCompatibility = '14'
repositories {
mavenCentral()
}
dependencies {
2020-10-09 06:41:53 -04:00
implementation 'org.springframework.boot:spring-boot-starter:2.3.4.RELEASE'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.3.4.RELEASE'
compileOnly 'org.projectlombok:lombok:1.18.14'
testCompileOnly 'org.projectlombok:lombok:1.18.14'
runtimeOnly files('libs/sampleOne.jar', 'libs/sampleTwo.jar')
runtimeOnly fileTree('libs') { include '*.jar' }
2020-09-27 12:37:50 -04:00
2020-10-09 06:41:53 -04:00
// implementation gradleApi()
2020-09-27 12:37:50 -04:00
}
test {
useJUnitPlatform()
}