Fix publishing warn, go back to loom 0.11 as 0.12 is not yet recommended
See https://github.com/FabricMC/fabric-example-mod/commit/8adede095a379f0f18984d1ec2b4a46a4b5d29a7
This commit is contained in:
1 parent
127f4bb491
commit
91fbb44ccb
1 file changed
+2
-12
+2
-12
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '0.12-SNAPSHOT'
|
||||
id 'fabric-loom' version '0.11-SNAPSHOT'
|
||||
id 'io.github.juuxel.loom-quiltflower' version '1.7.1'
|
||||
id 'maven-publish'
|
||||
}
|
||||
@@ -65,17 +65,7 @@ jar {
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
// add all the jars that should be included when publishing to maven
|
||||
artifact(remapJar) {
|
||||
builtBy remapJar
|
||||
}
|
||||
artifact(sourcesJar) {
|
||||
builtBy remapSourcesJar
|
||||
}
|
||||
}
|
||||
}
|
||||
from components.java
|
||||
|
||||
// Select the repositories you want to publish to
|
||||
// To publish to maven local, no extra repositories are necessary. Just use the task `publishToMavenLocal`.
|
||||
|
||||
Reference in new issue
Block a user