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

20 lines
335 B
Plaintext

plugins {
id("java")
}
group = "com.baeldung.gradle"
version = "0.0.1-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.9.0")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}