Created
March 27, 2018 10:06
-
-
Save AleksandrSl/ca1ace1171b8cd907b87dd5d84f91758 to your computer and use it in GitHub Desktop.
Kotlintest mvn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>test</groupId> | |
<artifactId>test</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<java.version>1.8</java.version> | |
<kotlin.version>1.2.30</kotlin.version> | |
<kotlintest.version>3.0.0-RC2</kotlintest.version> | |
<ktlint.version>0.20.0</ktlint.version> | |
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> | |
<junit-platform.version>1.1.0</junit-platform.version> | |
<junit-jupiter.version>5.1.0</junit-jupiter.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<artifactId>kotlin-stdlib-jdk8</artifactId> | |
<version>${kotlin.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.kotlintest</groupId> | |
<artifactId>kotlintest-core</artifactId> | |
<version>${kotlintest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.kotlintest</groupId> | |
<artifactId>kotlintest-assertions</artifactId> | |
<version>${kotlintest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.kotlintest</groupId> | |
<artifactId>kotlintest-runner-junit5</artifactId> | |
<version>${kotlintest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.kotlintest</groupId> | |
<artifactId>kotlintest-intellij</artifactId> | |
<version>${kotlintest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.kotlintest</groupId> | |
<artifactId>kotlintest-tests</artifactId> | |
<version>${kotlintest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.github.shyiko</groupId> | |
<artifactId>ktlint</artifactId> | |
<version>${ktlint.version}</version> | |
<exclusions> | |
<exclusion> <!-- declare the exclusion here --> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> | |
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<artifactId>kotlin-maven-plugin</artifactId> | |
<version>${kotlin.version}</version> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>test-compile</id> | |
<phase>test-compile</phase> | |
<goals> | |
<goal>test-compile</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment