Skip to content

Commit 01cef83

Browse files
committed
Added javadoc task
1 parent 57aaf88 commit 01cef83

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
.DS_Store
77
/build
88
/captures
9+
javadoc

.idea/codeStyleSettings.xml

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,11 @@ dependencies {
6464
configurations.all {
6565
resolutionStrategy.force 'com.android.support:support-annotations:23.1.1'
6666
}
67+
68+
// Javadoc
69+
task javadoc(type: Javadoc) {
70+
source = android.sourceSets.main.java.srcDirs
71+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
72+
destinationDir = file("../javadoc/")
73+
failOnError false
74+
}

0 commit comments

Comments
 (0)