d6261521ff
Set default JDK for kotlin compiler plugin. Set default JRE path for maven surefire plugin. Run tests for extension modules on the corresponding JRE. #KT-8254
81 lines
2.8 KiB
XML
81 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-project</artifactId>
|
|
<version>1.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-runtime</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
|
|
<configuration>
|
|
<args>
|
|
<arg>-Xallow-kotlin-package</arg>
|
|
</args>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<args combine.children="append">
|
|
<arg>-Xmultifile-parts-inherit</arg>
|
|
<arg>-Xdump-declarations-to</arg>
|
|
<arg>${basedir}/target/stdlib-declarations.json</arg>
|
|
</args>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkMode>once</forkMode>
|
|
<jvm>${env.JDK_16}/bin/java</jvm>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|