File tree 2 files changed +5
-1
lines changed
reaper/src/main/java/org/elasticsearch/gradle/reaper
src/main/groovy/org/elasticsearch/gradle
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 37
37
* Since how to reap a given service is platform and service dependent, this tool
38
38
* operates on system commands to execute. It takes a single argument, a directory
39
39
* that will contain files with reaping commands. Each line in each file will be
40
- * executed with {@link Runtime#getRuntime()#exec }.
40
+ * executed with {@link Runtime#exec(String) }.
41
41
*
42
42
* The main method will wait indefinitely on the parent process (Gradle) by
43
43
* reading from stdin. When Gradle shuts down, whether normally or abruptly, the
Original file line number Diff line number Diff line change @@ -676,6 +676,10 @@ class BuildPlugin implements Plugin<Project> {
676
676
*/
677
677
(javadoc. options as CoreJavadocOptions ). addBooleanOption(' html5' , true )
678
678
}
679
+ // ensure javadoc task is run with 'check'
680
+ project. pluginManager. withPlugin(' lifecycle-base' ) {
681
+ project. tasks. getByName(LifecycleBasePlugin . CHECK_TASK_NAME ). dependsOn(project. tasks. withType(Javadoc ))
682
+ }
679
683
configureJavadocJar(project)
680
684
}
681
685
You can’t perform that action at this time.
0 commit comments