diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-10 17:36:08 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-10 17:36:08 +0200 |
commit | 78f2b83e7198e4323c81e989058c2371d8562929 (patch) | |
tree | a8c4e9e98654cbf62a37fd16a41b075c8e0f33a4 /build.gradle | |
parent | de1325f1cdac0c10052f4b5a6b78331185b2ca4c (diff) | |
download | OneConfigLoader-78f2b83e7198e4323c81e989058c2371d8562929.tar.gz OneConfigLoader-78f2b83e7198e4323c81e989058c2371d8562929.tar.bz2 OneConfigLoader-78f2b83e7198e4323c81e989058c2371d8562929.zip |
finish loader
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 8870e0a..289b2bf 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,8 @@ plugins { id 'com.github.johnrengelman.shadow' version '6.1.0' id "net.minecraftforge.gradle.forge" version "ddb1eb0" + id "maven-publish" + id "signing" id "java" } @@ -34,4 +36,42 @@ shadowJar { archiveClassifier.set('') configurations = [project.configurations.include] duplicatesStrategy DuplicatesStrategy.EXCLUDE +} + +publishing { + publications { + maven(MavenPublication) { + groupId = "cc.polyfrost" + artifactId = archivesBaseName + "-1.8.9-forge" + + from(components["java"]) + } + } + + repositories { + maven { + name = "releases" + url = "https://repo.polyfrost.cc/releases" + credentials(PasswordCredentials) + authentication { + basic(BasicAuthentication) + } + } + maven { + name = "snapshots" + url = "https://repo.polyfrost.cc/snapshots" + credentials(PasswordCredentials) + authentication { + basic(BasicAuthentication) + } + } + maven { + name = "private" + url = "https://repo.polyfrost.cc/private" + credentials(PasswordCredentials) + authentication { + basic(BasicAuthentication) + } + } + } }
\ No newline at end of file |