Skip to content

Commit f77fb1b

Browse files
committed
Try a fix for the JavaDoc warnings
1 parent 4ca9a9e commit f77fb1b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

library/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@ android {
2121
}
2222
}
2323

24+
configurations {
25+
javadocDeps
26+
}
27+
2428
dependencies {
2529
compile fileTree(dir: 'libs', include: ['*.jar'])
2630
compile 'com.android.support:support-annotations:23.1.1'
2731
compile 'com.github.afollestad:bridge:3.0.0@aar'
32+
33+
javadocDeps 'com.android.support:support-annotations:23.1.1'
2834
}
2935

3036
// build a jar with source files
@@ -37,6 +43,7 @@ task javadoc(type: Javadoc) {
3743
failOnError false
3844
source = android.sourceSets.main.java.sourceFiles
3945
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
46+
classpath += configurations.javadocDeps
4047
}
4148

4249
// build a jar with javadoc

0 commit comments

Comments
 (0)