mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-27 03:22:12 +00:00
8ee841e541
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.7.2 to 5.8.2. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.2) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
649 B
Text
29 lines
649 B
Text
plugins {
|
|
`java-library`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
api("org.apache.commons:commons-math3:3.6.1")
|
|
implementation("com.google.guava:guava:31.1-jre")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.named("test").configure {
|
|
// Echo an output value so we can detect configuration-cache usage
|
|
println("::set-output name=task_configured::yes")
|
|
|
|
doLast {
|
|
if (System.getProperties().containsKey("verifyCachedBuild")) {
|
|
throw RuntimeException("Build was not cached: unexpected execution of test task")
|
|
}
|
|
}
|
|
}
|