You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* IntegrationTestKitSpec currently [loads more than what it needs into the classpath](https://github.com/nebula-plugins/nebula-test/blob/c5d3af9004898276bde5c68da492c6b0b4c5facc/src/main/groovy/nebula/test/IntegrationTestKitBase.groovy#L136)
29
+
* This means the Formatter is loaded onto the classpath eagerly, [erroneously](https://github.com/palantir/palantir-java-format/blob/00b08d2f471d66382d6c4cd2d05f56b6bb546ad3/gradle-palantir-java-format/src/main/java/com/palantir/javaformat/gradle/spotless/PalantirJavaFormatStep.java#L83).
30
+
* As a workaround, let's use the classpath produced by Gradle Test Kit in plugin-under-test-metadata.properties
31
+
* This classpath only contains the dependencies required by the plugin, as well as the plugin itself.
32
+
* This means no more eager loading of Formatters onto the classpath, no more complaints from PalantirJavaFormatStep
Copy file name to clipboardExpand all lines: gradle-palantir-java-format/src/test/groovy/com/palantir/javaformat/gradle/PalantirJavaFormatSpotlessPluginTest.groovy
+3-56Lines changed: 3 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ class PalantirJavaFormatSpotlessPluginTest extends IntegrationTestKitSpec {
0 commit comments