Skip to content

Commit 5596b9b

Browse files
committed
Reintroduce snapshot dependency on open-test-reporting
1 parent 779a46f commit 5596b9b

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.github/actions/run-gradle/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ runs:
2929
-Pjunit.develocity.predictiveTestSelection.enabled=true \
3030
-Pjunit.develocity.predictiveTestSelection.selectRemainingTests=${{ github.event_name != 'pull_request' }} \
3131
"-Dscan.value.GitHub job=${{ github.job }}" \
32+
--refresh-dependencies \
3233
javaToolchains \
3334
${{ inputs.arguments }}

.github/scripts/checkBuildReproducibility.sh

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function calculate_checksums() {
1313
--no-build-cache \
1414
-Porg.gradle.java.installations.auto-download=false \
1515
-Dscan.tag.Reproducibility \
16+
--refresh-dependencies \
1617
clean \
1718
assemble
1819

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ log4j = "2.24.3"
1717
logback = "1.5.16"
1818
mockito = "5.15.2"
1919
opentest4j = "1.3.0"
20-
openTestReporting = "0.2.0-M2"
20+
openTestReporting = "0.2.0-SNAPSHOT"
2121
snapshotTests = "1.11.0"
2222
surefire = "3.5.2"
2323
xmlunit = "2.10.0"

settings.gradle.kts

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ plugins {
1515
dependencyResolutionManagement {
1616
repositories {
1717
mavenCentral()
18+
// TODO Remove --refresh-dependencies from CI builds when no longer consuming snapshots
19+
maven(url = "https://oss.sonatype.org/content/repositories/snapshots") {
20+
mavenContent {
21+
snapshotsOnly()
22+
}
23+
}
1824
}
1925
}
2026

0 commit comments

Comments
 (0)