Skip to content

Commit eeaf8f6

Browse files
committed
Only add python-isolate dependency when that is what we are testing
1 parent 7ed89b5 commit eeaf8f6

File tree

1 file changed

+17
-7
lines changed
  • graalpython/com.oracle.graal.python.test.integration

1 file changed

+17
-7
lines changed

graalpython/com.oracle.graal.python.test.integration/pom.xml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,23 @@ Additionally, one can change the polyglot artifacts version with
150150
</repository>
151151
</repositories>
152152
</profile>
153+
<profile>
154+
<id>isolate</id>
155+
<activation>
156+
<property>
157+
<name>polyglot.engine.SpawnIsolate</name>
158+
</property>
159+
</activation>
160+
<dependencies>
161+
<dependency>
162+
<groupId>org.graalvm.polyglot</groupId>
163+
<artifactId>python-isolate</artifactId>
164+
<version>${com.oracle.graal.python.test.polyglot.version}</version>
165+
<scope>runtime</scope>
166+
<type>pom</type>
167+
</dependency>
168+
</dependencies>
169+
</profile>
153170
</profiles>
154171

155172
<dependencies>
@@ -165,13 +182,6 @@ Additionally, one can change the polyglot artifacts version with
165182
<scope>runtime</scope>
166183
<type>pom</type>
167184
</dependency>
168-
<dependency>
169-
<groupId>org.graalvm.polyglot</groupId>
170-
<artifactId>python-isolate</artifactId>
171-
<version>${com.oracle.graal.python.test.polyglot.version}</version>
172-
<scope>runtime</scope>
173-
<type>pom</type>
174-
</dependency>
175185
<dependency>
176186
<groupId>org.graalvm.python</groupId>
177187
<artifactId>python-embedding</artifactId>

0 commit comments

Comments
 (0)