mirror of
https://github.com/gradle/actions.git
synced 2025-04-16 15:59:18 +08:00
Bumps the gradle group with 2 updates in the /.github/workflow-samples/kotlin-dsl directory: [com.google.guava:guava](https://github.com/google/guava) and [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5). Updates `com.google.guava:guava` from 33.4.0-jre to 33.4.5-jre - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) Updates `org.junit.jupiter:junit-jupiter` from 5.11.4 to 5.12.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.11.4...r5.12.1) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gradle - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gradle ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
642 B
Plaintext
30 lines
642 B
Plaintext
plugins {
|
|
`java-library`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
api("org.apache.commons:commons-math3:3.6.1")
|
|
implementation("com.google.guava:guava:33.4.5-jre")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.12.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")
|
|
}
|
|
}
|
|
}
|