Skip to content

Commit

Permalink
no more maven
Browse files Browse the repository at this point in the history
  • Loading branch information
gigabit101 authored Oct 30, 2024
1 parent 8dc9f2d commit 7ae0988
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 @@ -95,27 +95,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.archivesBaseName + "-fabric"
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"
// 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 @@ -100,27 +100,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.archivesBaseName + "-forge"
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"
// 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 @@ -102,27 +102,27 @@ components.java {
}
}

publishing {
publications {
mavenFabric(MavenPublication) {
artifactId = rootProject.archivesBaseName + "-neoforge"
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"
// 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 7ae0988

Please sign in to comment.