Skip to content

Commit 45a7c38

Browse files
authored
More gradle plugins converted to java and cleaned up (#15088)
* Moved lucene.ide.eclipse.gradle to Java. More explicit types but jeez, lots of boilerplate. * Moved lucene.ide.intellij-idea.gradle to java. * Convert lucene.java.fail-on-no-tests.gradle to Java, replacing the deprecated buildFinished hook with a service. * Converted lucene.java.coverage.gradle to java. * Moved lucene.java.profiling.gradle to java, modernizing the implementation to not use the buildFinished hook. * Converted FailOnNoMatchingFilteredTestsPlugin to use an explicit task instead of autocloseable method on the service. * Refactor code coverage plugin so that it is only applied to java projects (and installs a root project plugin only when necessary). * Minor corrections after looking at the diff.
1 parent 2ea7c9e commit 45a7c38

17 files changed

+909
-426
lines changed

build-tools/build-infra-shadow/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ dependencies {
5656
implementation plugin(deps.plugins.forbiddenapis)
5757
implementation plugin(deps.plugins.spotless)
5858
implementation plugin(deps.plugins.undercouch.download)
59+
implementation plugin(deps.plugins.jacocolog)
5960
}
6061

6162
tasks.matching {

build-tools/build-infra/src/main/groovy/lucene.ide.eclipse.gradle

Lines changed: 0 additions & 144 deletions
This file was deleted.

build-tools/build-infra/src/main/groovy/lucene.ide.intellij-idea.gradle

Lines changed: 0 additions & 68 deletions
This file was deleted.

build-tools/build-infra/src/main/groovy/lucene.java.coverage.gradle

Lines changed: 0 additions & 73 deletions
This file was deleted.

build-tools/build-infra/src/main/groovy/lucene.java.fail-on-no-tests.gradle

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)