Created
October 27, 2023 11:10
-
-
Save lbialy/34f72094318c53b436034b919b1733e2 to your computer and use it in GitHub Desktop.
Pom for kotlin coroutines rendezvous snippet
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 | |
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> | |
<groupId>org.jetbrains.kotlin.examples</groupId> | |
<artifactId>hello-world</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<kotlin.version>1.9.10</kotlin.version> | |
<main.class>hello.HelloKt</main.class> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<artifactId>kotlin-stdlib</artifactId> | |
<version>${kotlin.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jetbrains.kotlinx</groupId> | |
<artifactId>kotlinx-coroutines-core</artifactId> | |
<version>1.7.3</version> | |
</dependency> | |
<dependency> | |
<groupId>io.arrow-kt</groupId> | |
<artifactId>arrow-core</artifactId> | |
<version>1.2.0-RC</version> | |
</dependency> | |
<dependency> | |
<groupId>io.arrow-kt</groupId> | |
<artifactId>arrow-fx-coroutines</artifactId> | |
<version>1.2.0-RC</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>${project.basedir}/src</sourceDirectory> | |
<plugins> | |
<plugin> | |
<artifactId>kotlin-maven-plugin</artifactId> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<version>${kotlin.version}</version> | |
<configuration> | |
<experimentalCoroutines>enable</experimentalCoroutines> | |
</configuration> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<phase>process-sources</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> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.6</version> | |
<configuration> | |
<archive> | |
<manifest> | |
<addClasspath>true</addClasspath> | |
<mainClass>${main.class}</mainClass> | |
</manifest> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.2.1</version> | |
<executions> | |
<execution> | |
<phase>test</phase> | |
<goals> | |
<goal>java</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<mainClass>${main.class}</mainClass> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>8</source> | |
<target>8</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment