File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
reaper/src/main/java/org/elasticsearch/gradle/reaper
src/main/groovy/org/elasticsearch/gradle Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3737 * Since how to reap a given service is platform and service dependent, this tool
3838 * operates on system commands to execute. It takes a single argument, a directory
3939 * 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) }.
4141 *
4242 * The main method will wait indefinitely on the parent process (Gradle) by
4343 * 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> {
676676 */
677677 (javadoc. options as CoreJavadocOptions ). addBooleanOption(' html5' , true )
678678 }
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+ }
679683 configureJavadocJar(project)
680684 }
681685
You can’t perform that action at this time.
0 commit comments