diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle index d88a512c..3406ac51 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ tasks.withType(JavaCompile).configureEach { it.options.release = 16 } -group = "dev.architectury" +group = "gg.essential" archivesBaseName = project.name def baseVersion = '0.10.0' def runNumber = System.getenv("GITHUB_RUN_NUMBER") ?: "9999" @@ -192,7 +192,7 @@ codenarc { gradlePlugin { plugins { fabricLoom { - id = 'dev.architectury.loom' + id = 'gg.essential.loom' implementationClass = 'net.fabricmc.loom.bootstrap.LoomGradlePluginBootstrap' } } @@ -228,8 +228,8 @@ import org.w3c.dom.Node publishing { publications { plugin(MavenPublication) { - groupId 'dev.architectury.loom' - artifactId 'dev.architectury.loom.gradle.plugin' + groupId 'gg.essential.loom' + artifactId 'gg.essential.loom.gradle.plugin' from components.java artifact downgradeJava @@ -260,8 +260,8 @@ publishing { } pluginSnapshot(MavenPublication) { - groupId 'dev.architectury.loom' - artifactId 'dev.architectury.loom.gradle.plugin' + groupId 'gg.essential.loom' + artifactId 'gg.essential.loom.gradle.plugin' version baseVersion + '-SNAPSHOT' pom.withXml { @@ -281,12 +281,13 @@ publishing { } repositories { - if (System.getenv("MAVEN_PASS") != null) { + if (project.hasProperty("nexus_user")) { maven { - url = "https://deploy.shedaniel.me/" + url = "https://repo.sk1er.club/repository/maven-releases/" + name = "nexus-public" credentials { - username = "shedaniel" - password = System.getenv("MAVEN_PASS") + username = project.property("nexus_user").toString() + password = project.property("nexus_password").toString() } } } |