Skip to content

Commit c411936

Browse files
committed
Fixes JavaDocs being output to correct directory
Closes #187
1 parent 800a607 commit c411936

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ after_failure: #Run again with debug info enabled
2727

2828
after_success:
2929
- bash <(curl -s https://codecov.io/bash) # Code Coverage Reporting
30-
- ./gradlew javadoc
30+
- ./gradlew aggregateJavadocs
3131
- .travis-scripts/push-javadoc-to-gh-pages.sh
3232
- .travis-scripts/before-deploy.sh
3333

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
buildscript {
2+
repositories { jcenter() }
3+
4+
dependencies {
5+
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
6+
}
7+
}
18
plugins {
29
id 'java'
310
id 'idea'
@@ -6,6 +13,8 @@ plugins {
613
id 'com.google.osdetector' version '1.4.0'
714
id 'com.github.johnrengelman.shadow' version '1.2.2'
815
}
16+
apply plugin: 'nebula-aggregate-javadocs'
17+
918

1019
allprojects {
1120
apply plugin: 'java'
@@ -35,6 +44,7 @@ allprojects {
3544
tasks.withType(Javadoc) {
3645
source compileJava.source
3746
options.addStringOption('Xdoclint:all,-html', '-quiet')
47+
failOnError false
3848
}
3949

4050
// Turn on test results

0 commit comments

Comments
 (0)