@@ -12,7 +12,6 @@ plugins {
12
12
id ' com.diffplug.eclipse.mavencentral' version ' 3.33.2' apply false
13
13
id ' com.dorongold.task-tree' version ' 2.1.0'
14
14
id ' com.github.ben-manes.versions' version ' 0.39.0'
15
- id ' com.github.sherter.google-java-format' version ' 0.9'
16
15
id ' de.undercouch.download'
17
16
id ' nebula.lint' version ' 17.2.3'
18
17
}
@@ -251,27 +250,6 @@ if (isWindows) {
251
250
}
252
251
}
253
252
254
- // Java formatting
255
- googleJavaFormat {
256
- group ' verification'
257
- toolVersion = ' 1.7'
258
- // exclude since various tests make assertions based on
259
- // source positions in the test inputs. to auto-format
260
- // we also need to update the test assertions
261
- exclude ' com.ibm.wala.cast.java.test.data/**/*.java'
262
- }
263
-
264
- final verifyGoogleJavaFormat = tasks. named(' verifyGoogleJavaFormat' ) {
265
- group ' verification'
266
-
267
- // workaround for <https://github.com/sherter/google-java-format-gradle-plugin/issues/43>
268
- final stampFile = project. layout. buildDirectory. file(name)
269
- outputs. file stampFile
270
- doLast {
271
- stampFile. get(). asFile. text = ' '
272
- }
273
- }
274
-
275
253
tasks. named(' autoLintGradle' ) {
276
254
// `autoLintGradle` creates no output files, which causes Gradle to treat it as always
277
255
// out-of-date. By creating a simple, empty stamp file to record that this task has run and
@@ -302,7 +280,7 @@ final check = tasks.register('check') {
302
280
if (! (isWindows && System . getenv(' GITHUB_ACTIONS' ) == ' true' )) {
303
281
// Known to be broken on Windows when running as a GitHub Action, but not intentionally so.
304
282
// Please fix if you know how! <https://github.com/wala/WALA/issues/608>
305
- dependsOn verifyGoogleJavaFormat
283
+ // dependsOn verifyGoogleJavaFormat
306
284
}
307
285
}
308
286
0 commit comments