Skip to content

Commit 912e906

Browse files
authored
Final Gradle plugins to Java (#15377)
* Partial, stopped when realizing gradle sucks. * Rewrite RegenerateTasksSupportPlugin using after-projects-evaluated hook. * Moved regeneration code into each subproject's build.gradle. * Final cleanups. * Don't complain about errorprone unless 'check' is mentioned explicitly. * Cleanup deprecated APIs. * Minor tweaks. * Use a service instead of the deprecated hook. * Move project reference outside of the task's execution code. * Remove obsolete launch configurations. * Remove exception from close.
1 parent b39e9bc commit 912e906

36 files changed

+1742
-1844
lines changed

build-tools/build-infra/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
plugins {
1919
id "java-gradle-plugin"
20-
id "groovy-gradle-plugin"
21-
2220
alias(deps.plugins.forbiddenapis) apply false
2321
}
2422

@@ -40,14 +38,9 @@ gradlePlugin {
4038
automatedPublishing = false
4139

4240
plugins {
43-
CheckEnvironmentPlugin {
44-
id = 'lucene.root-project.check-environment'
45-
implementationClass = 'org.apache.lucene.gradle.plugins.misc.CheckEnvironmentPlugin'
46-
}
47-
4841
RootProjectSetupPlugin {
4942
id = 'lucene.root-project.setup'
50-
implementationClass = 'org.apache.lucene.gradle.plugins.misc.RootProjectSetupPlugin'
43+
implementationClass = 'org.apache.lucene.gradle.plugins.misc.LuceneRootConfigurationPlugin'
5144
}
5245
}
5346
}

build-tools/build-infra/src/main/groovy/regenerate.antlr.gradle

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

build-tools/build-infra/src/main/groovy/regenerate.forUtil.gradle

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

0 commit comments

Comments
 (0)