Skip to content

Commit 8e13540

Browse files
committed
Migrate even more plugins to libs.versions.toml
In the background, I should also have fixed the CI/CD workflow by changing the username and password settings for the OSSRH
1 parent 09db1cf commit 8e13540

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "base"
33
id "signing"
4-
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
4+
alias libs.plugins.nexus.publish
55
id "dex2jar.build-conventions"
66
alias libs.plugins.versions
77
}

d2j-external/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "com.github.johnrengelman.shadow" version "8.1.1"
2+
alias libs.plugins.shadow
33
id "dex2jar.build-conventions"
44
}
55

gradle/libs.versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ commons-compress = '1.26.2'
77
junit = '5.10.3'
88
junit-platform = '1.10.3'
99
r8 = '4.0.63' # Newer versions only for Java 11+
10+
nexus-publish-plugin = '2.0.0'
11+
shadow-plugin = '8.1.1'
1012
versions-plugin = '0.51.0'
1113

1214
[libraries]
@@ -24,4 +26,6 @@ junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher
2426
r8 = { module = "com.android.tools:r8", version.ref = "r8" }
2527

2628
[plugins]
29+
nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexus-publish-plugin" }
30+
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow-plugin" }
2731
versions = { id = "com.github.ben-manes.versions", version.ref = "versions-plugin" }

0 commit comments

Comments
 (0)