Update build.gradle
This commit is contained in:
parent
c1d693ad85
commit
397f24a3f3
1 changed files with 20 additions and 18 deletions
38
build.gradle
38
build.gradle
|
@ -1,8 +1,10 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.7-SNAPSHOT'
|
id 'fabric-loom' version '0.7-SNAPSHOT'
|
||||||
id 'maven-publish'
|
//id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply plugin: 'maven'
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
@ -88,20 +90,20 @@ jar {
|
||||||
}
|
}
|
||||||
|
|
||||||
// configure the maven publication
|
// configure the maven publication
|
||||||
publishing {
|
//publishing {
|
||||||
publications {
|
// publications {
|
||||||
mavenJava(MavenPublication) {
|
// mavenJava(MavenPublication) {
|
||||||
artifact(remapJar) {
|
// artifact(remapJar) {
|
||||||
builtBy remapJar
|
// builtBy remapJar
|
||||||
}
|
// }
|
||||||
artifact(sourcesJar) {
|
// artifact(sourcesJar) {
|
||||||
builtBy remapSourcesJar
|
// builtBy remapSourcesJar
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
// select the repositories you want to publish to
|
// // select the repositories you want to publish to
|
||||||
repositories {
|
// repositories {
|
||||||
mavenLocal()
|
// mavenLocal()
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue