195 lines
6.6 KiB
XML
195 lines
6.6 KiB
XML
<project>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>be.simplenotes</groupId>
|
|
<artifactId>parent</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<modules>
|
|
<module>persistance</module>
|
|
<module>app</module>
|
|
<module>domain</module>
|
|
<module>shared</module>
|
|
</modules>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<java.version>14</java.version>
|
|
<kotlin.version>1.4.0-rc</kotlin.version>
|
|
<junit.version>5.6.2</junit.version>
|
|
|
|
<kotlin.code.style>official</kotlin.code.style>
|
|
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.koin</groupId>
|
|
<artifactId>koin-core</artifactId>
|
|
<version>2.1.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.2.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.arrow-kt</groupId>
|
|
<artifactId>arrow-core</artifactId>
|
|
<version>0.10.5</version>
|
|
</dependency>
|
|
|
|
<!-- region tests -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.mockk</groupId>
|
|
<artifactId>mockk</artifactId>
|
|
<version>1.10.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.koin</groupId>
|
|
<artifactId>koin-test</artifactId>
|
|
<version>2.1.6</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.natpryce</groupId>
|
|
<artifactId>hamkrest</artifactId>
|
|
<version>1.7.0.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.16.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- endregion -->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M4</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
<artifactId>surefire-junit-platform</artifactId>
|
|
<version>3.0.0-M4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>${kotlin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<args>
|
|
<arg>-Xno-param-assertions</arg>
|
|
<arg>-Xno-call-assertions</arg>
|
|
<arg>-Xno-receiver-assertions</arg>
|
|
</args>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-common</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jcenter</id>
|
|
<url>https://jcenter.bintray.com</url>
|
|
</repository>
|
|
<repository>
|
|
<id>arrow</id>
|
|
<url>https://dl.bintray.com/arrow-kt/arrow-kt/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
</project>
|