java-tutorials/gradle-modules/gradle-7/conditional-dependency-demo/build.gradle.kts

24 lines
506 B
Plaintext

plugins {
id("org.springframework.boot") version "2.7.2"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
id("java")
}
group = "com.baeldung.gradle"
version = "0.0.1-SNAPSHOT"
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter:2.7.2")
testImplementation("org.springframework.boot:spring-boot-starter-test:2.7.2")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}