Skip to content

Commit

Permalink
Fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1co committed Mar 3, 2017
1 parent cae2a86 commit d96e473
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ dependencies {
sourceCompatibility = 1.6
targetCompatibility = 1.6

task generateJavadoc(type: Javadoc) {
classpath += configurations.provided
source = sourceSets.main.allJava
}

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

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

0 comments on commit d96e473

Please sign in to comment.