Skip to content
Snippets Groups Projects
Commit a29f1186 authored by Dennis Bonke's avatar Dennis Bonke Committed by Dennis Bonke
Browse files

Build.gradle fix?

parent b17e0b99
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,14 @@ processResources
}
}
artifacts {
archives javadocJar
}
artifacts {
archives deobfJar
}
//Because the normal default jar task has been modified to be obfuscated
task deobfJar(type: Jar) {
from sourceSets.main.output
......@@ -156,17 +164,9 @@ task deobfJar(type: Jar) {
}
}
artifacts {
archives deobfJar
}
//Create a task to create a javadoc for the developers
task javadocJar(type: Jar, dependsOn: javadoc) {
//Again, maven standards to use classifier of javadoc, any smart IDE will use this if asked.
classifier 'javadoc'
from 'build/docs/javadoc'
}
artifacts {
archives javadocJar
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment