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.
145 lines
4.5 KiB
145 lines
4.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
|
|
Copyright 2012-2023 The Feign Authors |
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
|
in compliance with the License. You may obtain a copy of the License at |
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under the License |
|
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
|
or implied. See the License for the specific language governing permissions and limitations under |
|
the License. |
|
|
|
--> |
|
<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>io.github.openfeign</groupId> |
|
<artifactId>parent</artifactId> |
|
<version>13.1-SNAPSHOT</version> |
|
</parent> |
|
|
|
<artifactId>feign-kotlin</artifactId> |
|
<name>Feign Kotlin</name> |
|
<description>Feign Kotlin</description> |
|
|
|
<properties> |
|
<main.basedir>${project.basedir}/..</main.basedir> |
|
<kotlin.version>1.9.10</kotlin.version> |
|
<kotlinx.coroutines.version>1.7.3</kotlinx.coroutines.version> |
|
</properties> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>feign-core</artifactId> |
|
</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-reflect</artifactId> |
|
<version>${kotlin.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.kotlinx</groupId> |
|
<artifactId>kotlinx-coroutines-jdk8</artifactId> |
|
<version>${kotlinx.coroutines.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.jetbrains.kotlinx</groupId> |
|
<artifactId>kotlinx-coroutines-reactor</artifactId> |
|
<version>${kotlinx.coroutines.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.squareup.okhttp3</groupId> |
|
<artifactId>mockwebserver</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.google.code.gson</groupId> |
|
<artifactId>gson</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-maven-plugin</artifactId> |
|
<version>${kotlin.version}</version> |
|
<executions> |
|
<execution> |
|
<id>compile</id> |
|
<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> |
|
<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.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<executions> |
|
<!-- Replacing default-compile as it is treated specially by maven --> |
|
<execution> |
|
<id>default-compile</id> |
|
<phase>none</phase> |
|
</execution> |
|
<!-- Replacing default-testCompile as it is treated specially by maven --> |
|
<execution> |
|
<id>default-testCompile</id> |
|
<phase>none</phase> |
|
</execution> |
|
<execution> |
|
<id>java-compile</id> |
|
<phase>compile</phase> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
</execution> |
|
<execution> |
|
<id>java-test-compile</id> |
|
<phase>test-compile</phase> |
|
<goals> |
|
<goal>testCompile</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project>
|
|
|