Skip to content

Commit c1c8512

Browse files
committed
Move more plugins out of allprojects
1 parent 14102e8 commit c1c8512

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ if (project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") ||
225225
}
226226

227227
allprojects {
228-
apply plugin: 'elasticsearch.eclipse'
229-
apply plugin: 'elasticsearch.formatting'
230228
// bwc_tests_enabled is a ext flag defined in 'elasticsearch.all-projects.gradle'
231229
bwc_tests_enabled = bwcTestsEnabled
232230
}

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,8 @@ if (extraProjects.exists()) {
171171

172172
gradle.lifecycle.beforeProject {
173173
apply plugin:"elasticsearch.all-projects"
174+
175+
// unfortunately we cannot nest script plugins
176+
apply plugin: 'elasticsearch.eclipse'
177+
apply plugin: 'elasticsearch.formatting'
174178
}

0 commit comments

Comments
 (0)