mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-25 09:40:57 -05:00
2bd30acc50
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.10.1 to 5.10.2. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.2) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
642 B
Text
29 lines
642 B
Text
plugins {
|
|
`java-library`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
api("org.apache.commons:commons-math3:3.6.1")
|
|
implementation("com.google.guava:guava:33.1.0-jre")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.named("test").configure {
|
|
// Write marker file so we can detect if task was configured
|
|
file("task-configured.txt").writeText("true")
|
|
|
|
doLast {
|
|
if (System.getProperties().containsKey("verifyCachedBuild")) {
|
|
throw RuntimeException("Build was not cached: unexpected execution of test task")
|
|
}
|
|
}
|
|
}
|