Skip to content

Commit

Permalink
Added artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSpring committed Dec 7, 2015
1 parent 8da8f77 commit ba451c0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Expand Up @@ -63,6 +63,20 @@ dependencies {

}

task sourceJar(type: Jar) {
from(sourceSets.main.java)
classifier = "src"
}

task devJar(type: Jar) {
from (sourceSets.main.output)
classifier = "deobf"
}

artifacts {
archives sourceJar, devJar
}

processResources
{
// this will ensure that this task is redone when the versions change.
Expand Down

0 comments on commit ba451c0

Please sign in to comment.