You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
195 lines
7.2 KiB
195 lines
7.2 KiB
<?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>org.example</groupId> |
|
<artifactId>maven-test-project</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
|
|
<properties> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<kotlin.code.style>official</kotlin.code.style> |
|
<kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget> |
|
<kotlin.version>2.1.21</kotlin.version> |
|
<compose.version>1.9.1</compose.version> |
|
<compose.material3.version>1.9.0-beta04</compose.material3.version> |
|
</properties> |
|
|
|
<repositories> |
|
<repository> |
|
<id>mavenCentral</id> |
|
<url>https://repo1.maven.org/maven2/</url> |
|
</repository> |
|
<repository> |
|
<id>gMaven</id> |
|
<url>https://maven.google.com/</url> |
|
</repository> |
|
<repository> |
|
<id>composeDev</id> |
|
<url>https://maven.pkg.jetbrains.space/public/p/compose/dev</url> |
|
</repository> |
|
</repositories> |
|
|
|
<build> |
|
<sourceDirectory>src/main/kotlin</sourceDirectory> |
|
<testSourceDirectory>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> |
|
<configuration> |
|
<args> |
|
<arg>-Xplugin=${user.home}/.m2/repository/org/jetbrains/kotlin/kotlin-compose-compiler-plugin-embeddable/${kotlin.version}/kotlin-compose-compiler-plugin-embeddable-${kotlin.version}.jar</arg> |
|
</args> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<version>3.5.3</version> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-failsafe-plugin</artifactId> |
|
<version>3.5.3</version> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>exec-maven-plugin</artifactId> |
|
<version>3.5.1</version> |
|
<configuration> |
|
<mainClass>MainKt</mainClass> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-test-junit5</artifactId> |
|
<version>${kotlin.version}</version> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.junit.jupiter</groupId> |
|
<artifactId>junit-jupiter</artifactId> |
|
<version>5.10.0</version> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-stdlib</artifactId> |
|
<version>${kotlin.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.compose.foundation</groupId> |
|
<artifactId>foundation-desktop</artifactId> |
|
<version>${compose.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.compose.material3</groupId> |
|
<artifactId>material3-desktop</artifactId> |
|
<version>${compose.material3.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-windows-x64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-windows-arm64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-linux-x64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-linux-arm64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-macos-x64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop-jvm-macos-arm64</artifactId> |
|
<version>${compose.version}</version> |
|
<type>pom</type> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.jetbrains.compose.desktop</groupId> |
|
<artifactId>desktop</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-compose-compiler-plugin-embeddable</artifactId> |
|
<version>${kotlin.version}</version> |
|
</dependency> |
|
</dependencies> |
|
|
|
</project>
|
|
|