mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 08:41:01 -05:00
89e46180c6
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.1.3-jre to 33.0.0-jre. - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-type: direct:production update-type: version-update:semver-major ... 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.0.0-jre")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.10.1")
|
|
}
|
|
|
|
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")
|
|
}
|
|
}
|
|
}
|