| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Copyright 2016-2017 JetBrains s.r.o. |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.jetbrains.kotlinx</groupId> |
| <artifactId>kotlinx-coroutines</artifactId> |
| <version>0.16-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>kotlinx-coroutines-core</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <!-- makes sure core is portable to lowest common denominator --> |
| <kotlin.compiler.jdkHome>${env.JDK_16}</kotlin.compiler.jdkHome> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>bintray-devexperts</id> |
| <url>https://dl.bintray.com/devexperts/Maven/</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.devexperts.lincheck</groupId> |
| <artifactId>core</artifactId> |
| <version>1.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/main/kotlin</sourceDirectory> |
| <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
| |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <!-- fork tests under jdk 1.6 as an additional execution --> |
| <execution> |
| <id>jdk16-test</id> |
| <phase>test</phase> |
| <goals><goal>test</goal></goals> |
| <configuration> |
| <forkMode>once</forkMode> |
| <jvm>${env.JDK_16}/bin/java</jvm> |
| <argLine>-ea -Xmx1g -Xms1g -Djava.security.manager=kotlinx.coroutines.experimental.TestSecurityManager</argLine> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jetbrains.dokka</groupId> |
| <artifactId>dokka-maven-plugin</artifactId> |
| <version>${dokka.version}</version> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |