Skip to content

Commit b6d1123

Browse files
committed
🐛 add aggregate javadocs plugin
1 parent ca47631 commit b6d1123

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

build.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
buildscript {
2+
repositories { jcenter() }
3+
4+
dependencies {
5+
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
6+
}
7+
}
8+
19
plugins {
210
id 'net.researchgate.release' version '2.4.0'
311
}
412

13+
apply plugin: 'nebula-aggregate-javadocs'
514
apply from: 'utils.gradle'
615
apply plugin: 'java'
716
apply plugin: 'checkstyle'
@@ -15,6 +24,11 @@ description = 'Client library to use the IBM Watson and Alchemy Services'
1524

1625
task docs(type: Javadoc) {
1726
destinationDir = file("$buildDir/docs/all")
27+
exclude {
28+
// subprojects.each {
29+
// '**/src/test/**'
30+
// }
31+
}
1832
}
1933

2034
task copyJars(type: Copy) {
@@ -41,6 +55,10 @@ allprojects {
4155

4256
subprojects {
4357

58+
rootProject.tasks.docs {
59+
exclude 'alchemy/src/test/**'
60+
}
61+
4462
checkstyleTest {
4563
ignoreFailures = true
4664
}

0 commit comments

Comments
 (0)