mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
fix Maven publishing, .gitignore
This commit is contained in:
parent
26bd1b52fa
commit
da9cebd67f
2 changed files with 3 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
|
||||
# Subprojects
|
||||
!/fabric-*
|
||||
/fabric-*/.gradle
|
||||
/fabric-*/build
|
||||
|
||||
# Folders
|
||||
|
|
|
@ -95,7 +95,6 @@ subprojects {
|
|||
|
||||
task remapMavenJar(type: net.fabricmc.loom.task.RemapJar, dependsOn: remapJar) {
|
||||
afterEvaluate {
|
||||
println("${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar")
|
||||
jar = file("${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar")
|
||||
destination = file("${project.buildDir}/libs/${archivesBaseName}-${version}-maven.jar")
|
||||
nestJar = false
|
||||
|
@ -157,8 +156,8 @@ publishing {
|
|||
maven(MavenPublication) {
|
||||
groupId "net.fabricmc"
|
||||
artifactId "fabric"
|
||||
artifact (jar) {
|
||||
builtBy remapJar
|
||||
artifact (file("${project.buildDir}/libs/${archivesBaseName}-${version}-maven.jar")) {
|
||||
builtBy remapMavenJar
|
||||
}
|
||||
artifact (sourcesJar) {
|
||||
builtBy remapSourcesJar
|
||||
|
|
Loading…
Reference in a new issue