Skip to content

Commit 708bd43

Browse files
author
Nicolai Parlog
committed
Remove build steps for Javadoc
1 parent 8e9123f commit 708bd43

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ install:
1010
- ./gradlew setup --no-daemon --stacktrace -Pon-travis=true
1111

1212
script:
13-
- ./gradlew buildAll --no-daemon --stacktrace
13+
- ./gradlew buildSite --no-daemon --stacktrace
1414

1515
deploy:
1616
provider: script

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ On Windows, you may have to run `git-repo-setup.sh` (these are all Git commands)
4343

4444
## Site-Building
4545

46-
After everything has been set up, running `gradle buildSite` builds the site and `gradle buildAll` includes each project's Javadoc.
46+
After everything has been set up, running `gradle buildSite` builds the site.
4747
With the correct credentials, `gradle pushSite` pushes the changes in `site` to the tracked remote branch.
4848

4949
For local experimentation with the site layout, it makes sense to first run `gradle buildSite` and then manually launch Jekyll in `site-source` with `bundle exec jekyll serve`.

build.gradle

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,6 @@ task buildJavadoc(type: Exec) {
117117
commandLine './gradlew javadoc --no-daemon'.split(' ')
118118
}
119119

120-
task includeJavadoc(type: Copy) {
121-
dependsOn buildJavadoc, buildSite
122-
123-
from 'junit-pioneer/build/docs/javadoc'
124-
into 'site/api'
125-
}
126-
127-
task buildAll {
128-
dependsOn buildSite, includeJavadoc
129-
}
130-
131120
// -------
132121
// PUBLISH
133122
// -------
@@ -140,6 +129,6 @@ task pushSite(type: Exec) {
140129
}
141130

142131
task publishSite {
143-
dependsOn buildAll, pushSite
144-
pushSite.mustRunAfter buildAll
132+
dependsOn buildSite, pushSite
133+
pushSite.mustRunAfter buildSite
145134
}

0 commit comments

Comments
 (0)