mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Merge pull request #37 from XDjackieXD/master
fixed that the deobf & api jar had everything duplicated...
This commit is contained in:
commit
fecc2e3d3a
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
|
||||
jar {}
|
||||
|
||||
task deobfJar(type: Jar) {
|
||||
from sourceSets.main.output
|
||||
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