Skip to content

Commit adc75fa

Browse files
committed
Make the gradle integration test pass on windows
1 parent 13b6cca commit adc75fa

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

devtools/gradle-it/pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
<name>Quarkus - Gradle Plugin IT</name>
1616
<description>Quarkus - Gradle Plugin Integration Test Dependencies</description>
1717

18+
<properties>
19+
<gradle.executable>${project.basedir}/../gradle/gradlew</gradle.executable>
20+
</properties>
21+
1822
<dependencies>
1923
<dependency>
2024
<groupId>io.quarkus</groupId>
@@ -75,7 +79,7 @@
7579
<id>gradle-integration-test</id>
7680
<phase>prepare-package</phase>
7781
<configuration>
78-
<executable>${project.basedir}/../gradle/gradlew</executable>
82+
<executable>${gradle.executable}</executable>
7983
<arguments>
8084
<argument>quarkusBuild</argument>
8185
<argument>-S</argument>
@@ -90,4 +94,18 @@
9094
</plugin>
9195
</plugins>
9296
</build>
97+
98+
<profiles>
99+
<profile>
100+
<id>windows</id>
101+
<activation>
102+
<os>
103+
<family>windows</family>
104+
</os>
105+
</activation>
106+
<properties>
107+
<gradle.executable>${project.basedir}/../gradle/gradlew.bat</gradle.executable>
108+
</properties>
109+
</profile>
110+
</profiles>
93111
</project>

0 commit comments

Comments
 (0)