mirror of
https://github.com/InsanusMokrassar/PsychomatrixBase.git
synced 2024-11-14 12:23:57 +00:00
170 lines
6.4 KiB
XML
170 lines
6.4 KiB
XML
|
<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>com.github.insanusmokrassar</groupId>
|
||
|
<artifactId>PsychomatrixBase</artifactId>
|
||
|
<version>0.1</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<kotlin.version>1.2.61</kotlin.version>
|
||
|
<kotlin.coroutines.version>0.24.0</kotlin.coroutines.version>
|
||
|
<dokka.version>0.9.16</dokka.version>
|
||
|
<assembly.version>2.6</assembly.version>
|
||
|
<source.version>3.0.1</source.version>
|
||
|
<jar.version>3.0.2</jar.version>
|
||
|
<gpg.passphraseServerId>bintray-insanusmokrassar-StandardRepository</gpg.passphraseServerId>
|
||
|
<main.class>${project.groupId}.${project.artifactId}.ExampleKt</main.class>
|
||
|
<maven.compiler.source>1.7</maven.compiler.source>
|
||
|
<maven.compiler.target>1.7</maven.compiler.target>
|
||
|
</properties>
|
||
|
|
||
|
<pluginRepositories>
|
||
|
<pluginRepository>
|
||
|
<id>jcenter</id>
|
||
|
<name>JCenter</name>
|
||
|
<url>https://jcenter.bintray.com/</url>
|
||
|
</pluginRepository>
|
||
|
</pluginRepositories>
|
||
|
|
||
|
<build>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>${project.basedir}/src/main/res/</directory>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-maven-plugin</artifactId>
|
||
|
<version>${kotlin.version}</version>
|
||
|
<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>
|
||
|
<configuration>
|
||
|
<args>
|
||
|
<arg>-Xcoroutines=enable</arg>
|
||
|
</args>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>${jar.version}</version>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<addClasspath>true</addClasspath>
|
||
|
<mainClass>${main.class}</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
<version>${source.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>attach-sources</id>
|
||
|
<goals>
|
||
|
<goal>jar</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<version>${assembly.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>make-assembly</id>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>${main.class}</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
<descriptorRefs>
|
||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||
|
</descriptorRefs>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jetbrains.dokka</groupId>
|
||
|
<artifactId>dokka-maven-plugin</artifactId>
|
||
|
<version>${dokka.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>dokka</goal>
|
||
|
<goal>javadocJar</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<sourceDirectories>
|
||
|
<dir>${project.build.sourceDirectory}</dir>
|
||
|
</sourceDirectories>
|
||
|
<cacheRoot>default</cacheRoot>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.12</version>
|
||
|
</dependency>
|
||
|
<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>${kotlin.coroutines.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-test-junit</artifactId>
|
||
|
<version>${kotlin.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>joda-time</groupId>
|
||
|
<artifactId>joda-time</artifactId>
|
||
|
<version>2.10</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</project>
|