mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
fixed that the deobf & api jar had everything duplicated...
This commit is contained in:
parent
c43f52b777
commit
8ec46efe28
1 changed files with 9 additions and 6 deletions
15
build.gradle
15
build.gradle
|
@ -63,14 +63,17 @@ processResources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main {
|
|
||||||
output.resourcesDir = output.classesDir
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Why is OpenComputers one of the only mods that has a readable build.gradle? (Thank you Sangar!) :D
|
// Why is OpenComputers one of the only mods that has a readable build.gradle? (Thank you Sangar!) :D
|
||||||
|
jar {}
|
||||||
|
|
||||||
task deobfJar(type: Jar) {
|
task deobfJar(type: Jar) {
|
||||||
from sourceSets.main.output
|
from sourceSets.main.output
|
||||||
classifier = 'dev'
|
classifier = 'dev'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task apiJar(type: Jar) {
|
||||||
|
from sourceSets.main.output
|
||||||
|
from sourceSets.main.java
|
||||||
|
classifier = 'api'
|
||||||
|
include 'de/ellpeck/actuallyadditions/api/**'
|
||||||
|
}
|
Loading…
Reference in a new issue