Skip to content

Commit

Permalink
Buildscript updates 2
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed Jan 23, 2025
1 parent 735d0e2 commit 6ee99f1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Object getModDescription() {

subprojects {
apply plugin: "dev.architectury.loom"
apply plugin: "maven-publish"

loom {
silentMojangMappingsLicense()
Expand All @@ -40,6 +41,19 @@ subprojects {
processResources {
exclude("architectury.common.json")
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Ultreon/advanced-debug 2")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
}
}

allprojects {
Expand Down
6 changes: 0 additions & 6 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,4 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
mavenLocal()
}
}
6 changes: 0 additions & 6 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,4 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
mavenLocal()
}
}
6 changes: 0 additions & 6 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,4 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
mavenLocal()
}
}

0 comments on commit 6ee99f1

Please sign in to comment.