133 lines
4.6 KiB
XML
133 lines
4.6 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>4.1.0</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>com.ttstd.composeremote</groupId>
|
||
<artifactId>Server</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<name>ComposeRemoteServer</name>
|
||
<description>ComposeRemoteServer</description>
|
||
<url/>
|
||
<licenses>
|
||
<license/>
|
||
</licenses>
|
||
<developers>
|
||
<developer/>
|
||
</developers>
|
||
<scm>
|
||
<connection/>
|
||
<developerConnection/>
|
||
<tag/>
|
||
<url/>
|
||
</scm>
|
||
<properties>
|
||
<java.version>17</java.version>
|
||
<kotlin.version>2.1.0</kotlin.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-webmvc</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<!-- Remote Compose:服务端生成二进制文档 -->
|
||
<dependency>
|
||
<groupId>androidx.compose.remote</groupId>
|
||
<artifactId>remote-creation-jvm</artifactId>
|
||
<version>1.0.0-alpha17</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.jetbrains.kotlin</groupId>
|
||
<artifactId>kotlin-stdlib</artifactId>
|
||
<version>${kotlin.version}</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>google</id>
|
||
<url>https://maven.google.com</url>
|
||
</repository>
|
||
<repository>
|
||
<id>central</id>
|
||
<url>https://repo.maven.apache.org/maven2</url>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.jetbrains.kotlin</groupId>
|
||
<artifactId>kotlin-maven-plugin</artifactId>
|
||
<version>${kotlin.version}</version>
|
||
<configuration>
|
||
<jvmTarget>17</jvmTarget>
|
||
<args>
|
||
<arg>-Xjsr305=strict</arg>
|
||
</args>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>compile</id>
|
||
<phase>process-sources</phase>
|
||
<goals>
|
||
<goal>compile</goal>
|
||
</goals>
|
||
<configuration>
|
||
<sourceDirs>
|
||
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
||
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
||
</sourceDirs>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>test-compile</id>
|
||
<phase>process-test-sources</phase>
|
||
<goals>
|
||
<goal>test-compile</goal>
|
||
</goals>
|
||
<configuration>
|
||
<sourceDirs>
|
||
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
|
||
<sourceDir>${project.basedir}/src/test/java</sourceDir>
|
||
</sourceDirs>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|