Skip to content

Commit

Permalink
Migrate even more plugins to libs.versions.toml
Browse files Browse the repository at this point in the history
In the background, I should also have fixed the CI/CD workflow by changing the username and password settings for the OSSRH
  • Loading branch information
ThexXTURBOXx committed Jul 12, 2024
1 parent 09db1cf commit 8e13540
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "base"
id "signing"
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
alias libs.plugins.nexus.publish
id "dex2jar.build-conventions"
alias libs.plugins.versions
}
Expand Down
2 changes: 1 addition & 1 deletion d2j-external/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
alias libs.plugins.shadow
id "dex2jar.build-conventions"
}

Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ commons-compress = '1.26.2'
junit = '5.10.3'
junit-platform = '1.10.3'
r8 = '4.0.63' # Newer versions only for Java 11+
nexus-publish-plugin = '2.0.0'
shadow-plugin = '8.1.1'
versions-plugin = '0.51.0'

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

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

0 comments on commit 8e13540

Please sign in to comment.