Skip to content

Commit 7e894e0

Browse files
committed
Remove unnecessary change in AbstractSpotlessMojo
1 parent f5a8ae1 commit 7e894e0

3 files changed

Lines changed: 2 additions & 23 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8
33
org.gradle.parallel=true
44
org.gradle.caching=true
55
org.gradle.configuration-cache=true
6-
org.gradle.configuration-cache.parallel=true
6+
#org.gradle.configuration-cache.parallel=true
77

88
name=spotless
99
description=Spotless - keep your code spotless with Gradle

lib-extra/build.gradle

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,6 @@ tasks.withType(Test).configureEach {
7070
classpath += jar.get().outputs.files
7171
}
7272

73-
apply plugin: 'dev.equo.p2deps'
74-
p2deps {
75-
into 'cdtCompileOnly', {
76-
p2repo 'https://download.eclipse.org/eclipse/updates/4.26/'
77-
p2repo 'https://download.eclipse.org/tools/cdt/releases/11.0/'
78-
install 'org.eclipse.cdt.core'
79-
}
80-
into 'groovyCompileOnly', {
81-
p2repo 'https://download.eclipse.org/eclipse/updates/4.26/'
82-
p2repo 'https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/4.8.0/e4.26/'
83-
install 'org.codehaus.groovy.eclipse.refactoring'
84-
install 'org.codehaus.groovy.eclipse.core'
85-
install 'org.eclipse.jdt.groovy.core'
86-
install 'org.codehaus.groovy'
87-
}
88-
into 'jdtCompileOnly', {
89-
p2repo 'https://download.eclipse.org/eclipse/updates/4.26/'
90-
install 'org.eclipse.jdt.core'
91-
}
92-
}
93-
9473
// we'll hold the core lib to a high standard
9574
spotbugs {
9675
// LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).

plugin-maven/src/main/java/com/diffplug/spotless/maven/AbstractSpotlessMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private List<File> collectFilesFromGit(FormatterFactory formatterFactory, String
338338
Iterable<String> dirtyFiles;
339339
try {
340340
dirtyFiles = GitRatchetMaven
341-
.instance().getDirtyFiles(baseDir, ratchetFrom);
341+
.instance().getDirtyFiles(baseDir, ratchetFrom);
342342
} catch (IOException e) {
343343
throw new PluginException("Unable to scan file tree rooted at " + baseDir, e);
344344
}

0 commit comments

Comments
 (0)