Skip to content

Commit

Permalink
ok this need not be touched till used in a mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Stereo528 committed Aug 9, 2023
1 parent 80f09bf commit 45691a1
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,25 +78,25 @@ task("buildOrPublish") {

// TODO: Uncomment for a non template mod!
publishing {
publications {
create<MavenPublication>("mavenJava") {
groupId = project.property("maven_group").toString()
artifactId = project.property("archives_base_name").toString()
version = getModVersion()

from(components.get("java"))
}
}

repositories {
maven {
url = uri("https://mvn.devos.one/${System.getenv()["PUBLISH_SUFFIX"]}/")
credentials {
username = System.getenv()["MAVEN_USER"]
password = System.getenv()["MAVEN_PASS"]
}
}
}
// publications {
// create<MavenPublication>("mavenJava") {
// groupId = project.property("maven_group").toString()
// artifactId = project.property("archives_base_name").toString()
// version = getModVersion()
//
// from(components.get("java"))
// }
// }
//
// repositories {
// maven {
// url = uri("https://mvn.devos.one/${System.getenv()["PUBLISH_SUFFIX"]}/")
// credentials {
// username = System.getenv()["MAVEN_USER"]
// password = System.getenv()["MAVEN_PASS"]
// }
// }
// }
}

fun getModVersion(): String {
Expand Down

0 comments on commit 45691a1

Please sign in to comment.