mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 22:16:34 +00:00
Only publish to specified repos
This commit is contained in:
1 file changed
+22
-18
+22
-18
@@ -108,26 +108,30 @@ subprojects {
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
if (System.getenv("RELEASES_MAVEN_USERNAME") != null) {
|
||||||
name = "william278-releases"
|
maven {
|
||||||
url = "https://repo.william278.net/releases"
|
name = "william278-releases"
|
||||||
credentials {
|
url = "https://repo.william278.net/releases"
|
||||||
username = System.getenv("RELEASES_MAVEN_USERNAME")
|
credentials {
|
||||||
password = System.getenv("RELEASES_MAVEN_PASSWORD")
|
username = System.getenv("RELEASES_MAVEN_USERNAME")
|
||||||
}
|
password = System.getenv("RELEASES_MAVEN_PASSWORD")
|
||||||
authentication {
|
}
|
||||||
basic(BasicAuthentication)
|
authentication {
|
||||||
|
basic(BasicAuthentication)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
maven {
|
if (System.getenv("SNAPSHOTS_MAVEN_USERNAME") != null) {
|
||||||
name = "william278-snapshots"
|
maven {
|
||||||
url = "https://repo.william278.net/snapshots"
|
name = "william278-snapshots"
|
||||||
credentials {
|
url = "https://repo.william278.net/snapshots"
|
||||||
username = System.getenv("SNAPSHOTS_MAVEN_USERNAME")
|
credentials {
|
||||||
password = System.getenv("SNAPSHOTS_MAVEN_PASSWORD")
|
username = System.getenv("SNAPSHOTS_MAVEN_USERNAME")
|
||||||
}
|
password = System.getenv("SNAPSHOTS_MAVEN_PASSWORD")
|
||||||
authentication {
|
}
|
||||||
basic(BasicAuthentication)
|
authentication {
|
||||||
|
basic(BasicAuthentication)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user