Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
Reconfigured gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegorisa committed Dec 25, 2017
1 parent e134df5 commit 4886977
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,19 @@ dependencies {
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}


task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}

0 comments on commit 4886977

Please sign in to comment.