@@ -178,7 +178,7 @@ it is removed due to a `./gradlew clean` or other action.
178
178
2 . We have some custom Checkstyle rules, and the Checkstyle plugin needs
179
179
to know where to find them. Under the "Third-Party Checks" section,
180
180
click the "+" button.
181
- 3 . Select ` buildSrc/ build-bootstrap/libs/buildSrc -$VERSION.jar` where
181
+ 3 . Select ` build-tools-internal/build/distributions/build-tools-internal -$VERSION.jar ` where
182
182
` $VERSION ` is something like ` 7.0.0-SNAPSHOT ` . This jar file will
183
183
always exist if you imported the project into IntelliJ before
184
184
configuring Checkstyle.
@@ -206,7 +206,7 @@ Code Formatter] installed, you can apply formatting directly in IntelliJ.
206
206
2 . Click "Use the Eclipse Code Formatter"
207
207
3 . Under "Eclipse formatter config", select "Eclipse workspace/project
208
208
folder or config file"
209
- 4 . Click "Browse", and navigate to the file ` buildSrc /formatterConfig.xml`
209
+ 4 . Click "Browse", and navigate to the file ` build-tools-internal /formatterConfig.xml`
210
210
5 . ** IMPORTANT** - make sure "Optimize Imports" is ** NOT** selected.
211
211
6 . Click "OK"
212
212
@@ -246,15 +246,15 @@ Next you'll want to import our auto-formatter:
246
246
- Select ** Window > Preferences**
247
247
- Select ** Java > Code Style > Formatter**
248
248
- Click ** Import**
249
- - Import the file at ** buildSrc /formatterConfig.xml**
249
+ - Import the file at ** build-tools-internal /formatterConfig.xml**
250
250
- Make sure it is the ** Active profile**
251
251
252
252
Finally, set up import order:
253
253
254
254
- Select ** Window > Preferences**
255
255
- Select ** Java > Code Style > Organize Imports**
256
256
- Click ** Import...**
257
- - Import the file at ** buildSrc /elastic.importorder**
257
+ - Import the file at ** build-tools-internal /elastic.importorder**
258
258
- Set the ** Number of imports needed for ` .* ` ** to *** 9999***
259
259
- Set the ** Number of static imports needed for ` .* ` ** to *** 9999*** as well
260
260
- Apply that
0 commit comments