diff options
-rw-r--r-- | build.gradle | 15 | ||||
-rw-r--r-- | gradle.properties | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/build.gradle b/build.gradle index 2791cf1..6c4e13f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,10 +5,6 @@ plugins { id 'checkstyle' } -if(rootProject.file('private.gradle').exists()) { //Publishing details - apply from: 'private.gradle' -} - archivesBaseName = project.archives_base_name version = "$project.mod_version+$project.minecraft_version" group = project.maven_group @@ -187,16 +183,15 @@ publishing { // select the repositories you want to publish to repositories { - if (project.hasProperty("artifactoryUsername")) { + def env = System.getenv() + if (env.MAVEN_URL) { maven { - url = "https://server.bbkr.space/artifactory/libs-release/" + url = env.MAVEN_URL credentials { - username = artifactoryUsername - password = artifactoryPassword + username = env.MAVEN_USERNAME + password = env.MAVEN_PASSWORD } } - } else { - println "Cannot configure artifactory; please define ext.artifactoryUsername and ext.artifactoryPassword before running publish" } } } diff --git a/gradle.properties b/gradle.properties index bea13b9..8d625e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.14.22 # Mod Properties - mod_version = 8.0.2 + mod_version = 8.1.0 maven_group = io.github.cottonmc archives_base_name = LibGui |