Painful...
This commit is contained in:
parent
2efd9dbded
commit
57ae86e9df
26
build.gradle
26
build.gradle
|
@ -118,32 +118,6 @@ task createChangelog(type: ChangelogTask) {
|
|||
|
||||
tasks.build.dependsOn('createChangelog')
|
||||
|
||||
// add a source jar
|
||||
task sourceJar(type: Jar) {
|
||||
from sourceSets.main.allSource
|
||||
appendix = 'src'
|
||||
}
|
||||
|
||||
task apiJar(type: Jar) {
|
||||
from(sourceSets.main.java)
|
||||
{
|
||||
include "biomesoplenty/api/*"
|
||||
}
|
||||
appendix = 'api'
|
||||
}
|
||||
|
||||
// because the normal output has been made to be obfuscated
|
||||
task deobfJar(type: Jar) {
|
||||
from sourceSets.main.output
|
||||
appendix = 'deobf'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
add getProject().repositories.mavenLocal()
|
||||
|
|
Loading…
Reference in New Issue