Skip to content

Commit c7efb72

Browse files
authored
Update snapshots URL in some more places & update to JUnit 5.14 (#388)
1 parent d55c819 commit c7efb72

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

build-logic/src/main/kotlin/Dependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
object libs {
44
object versions {
55
const val kotlin = "2.1.21"
6-
const val junitJupiter = "5.13.4"
7-
const val junitVintage = "5.13.4"
8-
const val junitPlatform = "1.13.4"
6+
const val junitJupiter = "5.14.0"
7+
const val junitVintage = "5.14.0"
8+
const val junitPlatform = "1.14.0"
99

1010
const val composeBom = "2025.03.00"
1111
const val androidXMultidex = "2.0.1"

build-logic/src/main/kotlin/Environment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ object Artifacts {
9393
platform = Java,
9494
groupId = "de.mannodermaus.gradle.plugins",
9595
artifactId = "android-junit5",
96-
currentVersion = "1.13.4.1-SNAPSHOT",
96+
currentVersion = "1.14.0.0-SNAPSHOT",
9797
latestStableVersion = "1.13.4.0",
9898
description = "Unit Testing with JUnit 5 for Android."
9999
)

build-logic/src/main/kotlin/Utilities.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fun RepositoryHandler.jitpack() = maven {
1515
}
1616

1717
fun RepositoryHandler.sonatypeSnapshots() = maven {
18-
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
18+
setUrl("https://central.sonatype.com/repository/maven-snapshots")
1919
}
2020

2121
/* Project */

instrumentation/settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pluginManagement {
2020
setUrl("https://jitpack.io")
2121
}
2222
maven {
23-
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
23+
setUrl("https://central.sonatype.com/repository/maven-snapshots")
2424
mavenContent { snapshotsOnly() }
2525
}
2626
}
@@ -31,7 +31,7 @@ dependencyResolutionManagement {
3131
google()
3232
mavenCentral()
3333
maven {
34-
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
34+
setUrl("https://central.sonatype.com/repository/maven-snapshotss")
3535
mavenContent { snapshotsOnly() }
3636
}
3737
}

plugin/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Change Log
22
==========
33

44
## Unreleased
5+
- JUnit 5.14.0
56

67
## 1.13.4.0 (2025-09-07)
78
- First considerations for Android Gradle Plugin 9.x

plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ buildscript {
2222
repositories {
2323
google()
2424
mavenCentral()
25-
maven("https://oss.sonatype.org/content/repositories/snapshots") {
25+
maven("https://central.sonatype.com/repository/maven-snapshots") {
2626
mavenContent {
2727
snapshotsOnly()
2828
}
@@ -58,7 +58,7 @@ if (version != "${androidGradlePluginVersion}") {
5858
repositories {
5959
google()
6060
mavenCentral()
61-
maven("https://oss.sonatype.org/content/repositories/snapshots") {
61+
maven("https://central.sonatype.com/repository/maven-snapshots") {
6262
mavenContent {
6363
snapshotsOnly()
6464
}

0 commit comments

Comments
 (0)