File: 02-ignore-google-java-format-plugin.patch

package info (click to toggle)
asm 9.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,120 kB
  • sloc: java: 52,598; xml: 229; makefile: 11
file content (28 lines) | stat: -rw-r--r-- 900 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Ignore the google-java-format plugin
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -31,7 +31,6 @@
   dependencies { classpath 'org.netbeans.tools:sigtest-maven-plugin:1.5' }
 }
 
-plugins { id 'com.diffplug.spotless' version "6.23.3" apply false }
 plugins { id 'me.champeau.jmh' version '0.7.2' apply false }
 plugins { id 'org.sonarqube' version '7.0.0.6105' apply false }
 
@@ -186,14 +185,6 @@
 // All projects are checked with googleJavaFormat, Checkstyle and PMD, 
 // and tested with :asm-test and JUnit.
 subprojects {
-  apply plugin: 'com.diffplug.spotless'
-  spotless {
-    java {
-      target '**/*.java'
-      targetExclude 'src/resources/java/**/*'
-      googleJavaFormat('1.18.1')
-    }
-  }
   
   // Check the coding style with Checkstyle. Fail in case of error or warning.
   apply plugin: 'checkstyle'