[CHANGE] Implement Maven Publishing
This commit is contained in:
@@ -1,9 +1,26 @@
|
||||
archivesBaseName = "ExampleMod-Common-${minecraft_version}"
|
||||
// Adjust the output jar name here
|
||||
archivesBaseName = "${mod_name}-Common-${minecraft_version}"
|
||||
|
||||
dependencies {
|
||||
// Add your dependencies here
|
||||
}
|
||||
|
||||
// Maven Publishing. Remove if not needed
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
artifactId base.archivesName.get()
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
// Add your maven repository here
|
||||
maven {
|
||||
url "file://" + System.getenv("local_maven")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* ===============================================================================
|
||||
* = DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING =
|
||||
|
Reference in New Issue
Block a user