Skip to content

Commit 8508f87

Browse files
committed
.
1 parent 00b038c commit 8508f87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gradle-palantir-java-format/src/test/groovy/com/palantir/javaformat/gradle/PalantirJavaFormatIdeaPluginTest.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ class PalantirJavaFormatIdeaPluginTest extends IntegrationTestKitSpec {
4646
def ipr = new XmlSlurper().parse(iprFile)
4747
def settings = ipr.component.findAll { it.@name == "PalantirJavaFormatSettings" }
4848
!settings.isEmpty()
49+
def implementationClassPathOption = ipr.component.option.find { it.@name == 'implementationClassPath' }
50+
!implementationClassPathOption.isEmpty()
51+
def nativeImageClassPathOption = ipr.component.option.find { it.@name == 'nativeImageClassPath' }
52+
extraGradleProperties.contains("palantir.native.formatter=true") ? !nativeImageClassPathOption.isEmpty() : true
4953

5054
where:
5155
extraGradleProperties | extraDependencies

0 commit comments

Comments
 (0)