Skip to content

Commit

Permalink
no more maven for now
Browse files Browse the repository at this point in the history
  • Loading branch information
gigabit101 authored Oct 30, 2024
1 parent ffb12f6 commit 09ff7e6
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 63 deletions.
42 changes: 21 additions & 21 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = "${rootProject.archivesBaseName}-fabric-${rootProject.minecraft_version}"
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
if (ENV.CREEPERHOST_MAVEN_TOKEN) {
maven {
url "https://maven.creeperhost.net/release"
credentials {
username = "githubci"
password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
}
}
}
}
}
// publishing {
// publications {
// mavenFabric(MavenPublication) {
// artifactId = "${rootProject.archivesBaseName}-fabric-${rootProject.minecraft_version}"
// from components.java
// }
// }

// // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
// repositories {
// if (ENV.CREEPERHOST_MAVEN_TOKEN) {
// maven {
// url "https://maven.creeperhost.net/release"
// credentials {
// username = "githubci"
// password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
// }
// }
// }
// }
// }

unifiedPublishing {
project {
Expand Down
42 changes: 21 additions & 21 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,27 +101,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = "${rootProject.archivesBaseName}-forge-${rootProject.minecraft_version}"
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
if (ENV.CREEPERHOST_MAVEN_TOKEN) {
maven {
url "https://maven.creeperhost.net/release"
credentials {
username = "githubci"
password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
}
}
}
}
}
// publishing {
// publications {
// mavenFabric(MavenPublication) {
// artifactId = "${rootProject.archivesBaseName}-forge-${rootProject.minecraft_version}"
// from components.java
// }
// }

// // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
// repositories {
// if (ENV.CREEPERHOST_MAVEN_TOKEN) {
// maven {
// url "https://maven.creeperhost.net/release"
// credentials {
// username = "githubci"
// password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
// }
// }
// }
// }
// }

unifiedPublishing {
project {
Expand Down
42 changes: 21 additions & 21 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,27 +114,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = "${rootProject.archivesBaseName}-neoforge-${rootProject.minecraft_version}"
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
if (ENV.CREEPERHOST_MAVEN_TOKEN) {
maven {
url "https://maven.creeperhost.net/release"
credentials {
username = "githubci"
password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
}
}
}
}
}
// publishing {
// publications {
// mavenFabric(MavenPublication) {
// artifactId = "${rootProject.archivesBaseName}-neoforge-${rootProject.minecraft_version}"
// from components.java
// }
// }

// // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
// repositories {
// if (ENV.CREEPERHOST_MAVEN_TOKEN) {
// maven {
// url "https://maven.creeperhost.net/release"
// credentials {
// username = "githubci"
// password = "${ENV.CREEPERHOST_MAVEN_TOKEN}"
// }
// }
// }
// }
// }

unifiedPublishing {
project {
Expand Down

0 comments on commit 09ff7e6

Please sign in to comment.