fix -sources jars
This commit is contained in:
parent
1362147c70
commit
1ebf4852a4
|
@ -73,6 +73,18 @@ processResources {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceJar {
|
||||||
|
classifier 'sources'
|
||||||
|
// copy all the minecraftforge specific classes
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
|
||||||
|
// copy everything else except the mcmod.info
|
||||||
|
from (project(":core").sourceSets.main.allSource) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
reobf {
|
reobf {
|
||||||
shadowJar { mappingType = 'SEARGE' }
|
shadowJar { mappingType = 'SEARGE' }
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,6 +73,17 @@ processResources {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourceJar {
|
||||||
|
classifier 'sources'
|
||||||
|
// copy all the minecraftforge specific classes
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
|
||||||
|
// copy everything else except the mcmod.info
|
||||||
|
from (project(":core").sourceSets.main.allSource) {
|
||||||
|
exclude 'mcmod.info'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
reobf {
|
reobf {
|
||||||
shadowJar { mappingType = 'SEARGE' }
|
shadowJar { mappingType = 'SEARGE' }
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,13 +3,17 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage("1.11.2") {
|
stage("1.11.2") {
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew :1.11.2:setupCiWorkspace :1.11.2:clean :1.11.2:build'
|
sh './gradlew :1.11.2:setupCiWorkspace'
|
||||||
|
sh './gradlew :1.11.2:clean'
|
||||||
|
sh './gradlew :1.11.2:build'
|
||||||
archive '1.11.2/build/libs/*jar'
|
archive '1.11.2/build/libs/*jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("1.12.2") {
|
stage("1.12.2") {
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew :1.12.2:setupCiWorkspace :1.12.2:clean :1.12.2:build'
|
sh './gradlew :1.12.2:setupCiWorkspace'
|
||||||
|
sh './gradlew :1.12.2:clean'
|
||||||
|
sh './gradlew :1.12.2:build'
|
||||||
archive '1.12.2/build/libs/*jar'
|
archive '1.12.2/build/libs/*jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ subprojects {
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
apply plugin: "idea"
|
apply plugin: "idea"
|
||||||
|
|
||||||
if(name != "core") {
|
if (name != "core") {
|
||||||
idea {
|
idea {
|
||||||
module {
|
module {
|
||||||
excludeDirs += [file("run")]
|
excludeDirs += [file("run")]
|
||||||
|
@ -24,5 +24,6 @@ subprojects {
|
||||||
url "http://maven.shadowfacts.net/"
|
url "http://maven.shadowfacts.net/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue