File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 4242import org .eclipse .osgi .internal .location .EquinoxLocations ;
4343import org .eclipse .text .edits .TextEdit ;
4444import org .osgi .framework .Constants ;
45- import org .slf4j .LoggerFactory ;
4645
4746import dev .equo .solstice .NestedJars ;
4847import dev .equo .solstice .ShimIdeBootstrapServices ;
Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ EquoBasedStepBuilder.State get() throws Exception {
9090 var mavenDeps = new ArrayList <String >();
9191 mavenDeps .add ("dev.equo.ide:solstice:0.19.2" );
9292 mavenDeps .add ("com.diffplug.durian:durian-swt.os:4.1.1" );
93- mavenDeps .add ("org.slf4j:slf4j-simple:1.7.36" );
9493 mavenDeps .addAll (query .getJarsOnMavenCentral ());
9594 classpath .addAll (mavenProvisioner .provisionWithTransitives (false , mavenDeps ));
9695 classpath .addAll (query .getJarsNotOnMavenCentral ());
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ private GrEclipseFormatterStep() {}
3333
3434 private static final String NAME = "eclipse groovy formatter" ;
3535 private static final Jvm .Support <String > JVM_SUPPORT = Jvm .<String > support (NAME ).add (11 , "4.26" );
36- private static final String FORMATTER_METHOD = "format" ;
3736
3837 public static String defaultVersion () {
3938 return JVM_SUPPORT .getRecommendedFormatterVersion ();
@@ -86,7 +85,7 @@ private static FormatterFunc apply(EquoBasedStepBuilder.State state) throws Exce
8685 JVM_SUPPORT .assertFormatterSupported (state .getSemanticVersion ());
8786 Class <?> formatterClazz = state .getJarState ().getClassLoader ().loadClass ("com.diffplug.spotless.extra.glue.groovy.GrEclipseFormatterStepImpl" );
8887 var formatter = formatterClazz .getConstructor (Properties .class ).newInstance (state .getPreferences ());
89- var method = formatterClazz .getMethod (FORMATTER_METHOD , String .class );
88+ var method = formatterClazz .getMethod ("format" , String .class );
9089 return JVM_SUPPORT .suggestLaterVersionOnError (state .getSemanticVersion (),
9190 input -> {
9291 try {
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ public class GrEclipseFormatterStepTest extends EquoResourceHarness {
2929
3030 public GrEclipseFormatterStepTest () {
3131 super (GrEclipseFormatterStep .createBuilder (TestProvisioner .mavenCentral ()), INPUT , EXPECTED );
32- System .setProperty ("org.gradle.logging.level" , "info" );
3332 }
3433
3534 @ ParameterizedTest
You can’t perform that action at this time.
0 commit comments