diff --git a/build.gradle b/build.gradle index c95665cd..b783315f 100644 --- a/build.gradle +++ b/build.gradle @@ -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 } diff --git a/d2j-external/build.gradle b/d2j-external/build.gradle index afd7d10a..f4472bdd 100644 --- a/d2j-external/build.gradle +++ b/d2j-external/build.gradle @@ -1,5 +1,5 @@ plugins { - id "com.github.johnrengelman.shadow" version "8.1.1" + alias libs.plugins.shadow id "dex2jar.build-conventions" } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 270de81c..197971d7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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] @@ -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" }