diff --git a/build-logic/src/main/kotlin/Dependencies.kt b/build-logic/src/main/kotlin/Dependencies.kt index b612175a..5afae149 100644 --- a/build-logic/src/main/kotlin/Dependencies.kt +++ b/build-logic/src/main/kotlin/Dependencies.kt @@ -3,9 +3,9 @@ object libs { object versions { const val kotlin = "2.1.21" - const val junitJupiter = "5.13.4" - const val junitVintage = "5.13.4" - const val junitPlatform = "1.13.4" + const val junitJupiter = "5.14.0" + const val junitVintage = "5.14.0" + const val junitPlatform = "1.14.0" const val composeBom = "2025.03.00" const val androidXMultidex = "2.0.1" diff --git a/build-logic/src/main/kotlin/Environment.kt b/build-logic/src/main/kotlin/Environment.kt index 234e8c9c..c907df35 100644 --- a/build-logic/src/main/kotlin/Environment.kt +++ b/build-logic/src/main/kotlin/Environment.kt @@ -93,7 +93,7 @@ object Artifacts { platform = Java, groupId = "de.mannodermaus.gradle.plugins", artifactId = "android-junit5", - currentVersion = "1.13.4.1-SNAPSHOT", + currentVersion = "1.14.0.0-SNAPSHOT", latestStableVersion = "1.13.4.0", description = "Unit Testing with JUnit 5 for Android." ) diff --git a/build-logic/src/main/kotlin/Utilities.kt b/build-logic/src/main/kotlin/Utilities.kt index 75309cfe..3e730510 100644 --- a/build-logic/src/main/kotlin/Utilities.kt +++ b/build-logic/src/main/kotlin/Utilities.kt @@ -15,7 +15,7 @@ fun RepositoryHandler.jitpack() = maven { } fun RepositoryHandler.sonatypeSnapshots() = maven { - setUrl("https://oss.sonatype.org/content/repositories/snapshots") + setUrl("https://central.sonatype.com/repository/maven-snapshots") } /* Project */ diff --git a/instrumentation/settings.gradle.kts b/instrumentation/settings.gradle.kts index 15d437d8..a7929044 100644 --- a/instrumentation/settings.gradle.kts +++ b/instrumentation/settings.gradle.kts @@ -20,7 +20,7 @@ pluginManagement { setUrl("https://jitpack.io") } maven { - setUrl("https://oss.sonatype.org/content/repositories/snapshots") + setUrl("https://central.sonatype.com/repository/maven-snapshots") mavenContent { snapshotsOnly() } } } @@ -31,7 +31,7 @@ dependencyResolutionManagement { google() mavenCentral() maven { - setUrl("https://oss.sonatype.org/content/repositories/snapshots") + setUrl("https://central.sonatype.com/repository/maven-snapshotss") mavenContent { snapshotsOnly() } } } diff --git a/plugin/CHANGELOG.md b/plugin/CHANGELOG.md index 50fce723..4a809b5f 100644 --- a/plugin/CHANGELOG.md +++ b/plugin/CHANGELOG.md @@ -2,6 +2,7 @@ Change Log ========== ## Unreleased +- JUnit 5.14.0 ## 1.13.4.0 (2025-09-07) - First considerations for Android Gradle Plugin 9.x diff --git a/plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template b/plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template index 123ef0e3..c125c94b 100644 --- a/plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template +++ b/plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template @@ -22,7 +22,7 @@ buildscript { repositories { google() mavenCentral() - maven("https://oss.sonatype.org/content/repositories/snapshots") { + maven("https://central.sonatype.com/repository/maven-snapshots") { mavenContent { snapshotsOnly() } @@ -58,7 +58,7 @@ if (version != "${androidGradlePluginVersion}") { repositories { google() mavenCentral() - maven("https://oss.sonatype.org/content/repositories/snapshots") { + maven("https://central.sonatype.com/repository/maven-snapshots") { mavenContent { snapshotsOnly() }