From 4c968f012dea657440e5240e29034066ac2fcbce Mon Sep 17 00:00:00 2001 From: Starmism Date: Wed, 30 Jun 2021 05:03:47 -0600 Subject: [PATCH] Cleanup build.gradle (cherry picked from commit 7750ba7033dc9fdf40d55fcd9ecc20a94819a7c1) --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index e8ad4fc..ffe47d3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import org.apache.tools.ant.filters.ReplaceTokens + plugins { id "java" id "maven-publish" @@ -6,7 +8,7 @@ plugins { } group "me.clip" -version "2.10.10-DEV-${System.getProperty("BUILD_NUMBER")}" +version "2.10.10-DEV" description "An awesome placeholder provider!" @@ -32,7 +34,7 @@ dependencies { processResources { from(sourceSets.main.resources.srcDirs) { - filter org.apache.tools.ant.filters.ReplaceTokens, tokens: [name: rootProject.name, version: project.version.toString(), description: project.description] + filter ReplaceTokens, tokens: [name: rootProject.name, version: project.version.toString(), description: project.description] } } @@ -73,7 +75,7 @@ license { } ext { - year = 2020 + year = 2021 } } @@ -89,7 +91,7 @@ sourceSets { publishing { repositories { maven { - if (version.contains("-DEV-")) { + if (version.contains("-DEV")) { url = uri("https://repo.extendedclip.com/content/repositories/dev/") } else { url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")