mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
135 lines
4.9 KiB
XML
Executable File
135 lines
4.9 KiB
XML
Executable File
<?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>
|
|
<parent>
|
|
<groupId>com.mybatis-flex</groupId>
|
|
<artifactId>mybatis-flex-test</artifactId>
|
|
<version>1.5.6</version>
|
|
</parent>
|
|
|
|
<artifactId>mybatis-flex-spring-kotlin-test</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<kotlin.version>1.9.0</kotlin.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.mybatis-flex</groupId>
|
|
<artifactId>mybatis-flex-kotlin</artifactId>
|
|
<version>${mybatis-flex.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mybatis-flex</groupId>
|
|
<artifactId>mybatis-flex-core</artifactId>
|
|
<version>${mybatis-flex.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.mybatis-flex</groupId>
|
|
<artifactId>mybatis-flex-spring</artifactId>
|
|
<version>${mybatis-flex.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>2.1.214</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.22.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<args>
|
|
<!--需要配置此项才能开启接口默认方法-->
|
|
<arg>-Xjvm-default=all</arg>
|
|
</args>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>kapt</id>
|
|
<goals>
|
|
<goal>kapt</goal>
|
|
</goals>
|
|
<configuration>
|
|
<testClasspath>${project.basedir}/src/test/kotlin</testClasspath>
|
|
<sourceDirs>
|
|
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
|
</sourceDirs>
|
|
<annotationProcessorPaths>
|
|
<!-- 在此处指定你的注解处理器。 -->
|
|
<annotationProcessorPath>
|
|
<groupId>com.mybatis-flex</groupId>
|
|
<artifactId>mybatis-flex-processor</artifactId>
|
|
<version>${mybatis-flex.version}</version>
|
|
</annotationProcessorPath>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>compile</id>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|