quarkus-rest-kotlin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest-kotlin</artifactId> <version>3.17.0.CR1</version> </dependency>
<?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"> <parent> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest-kotlin-parent</artifactId> <version>3.17.0.CR1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>quarkus-rest-kotlin</artifactId> <name>Quarkus - REST - Kotlin - Runtime</name> <description>Provides Kotlin support for Quarkus REST</description> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jdk8</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-jdk8</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-rest-common</artifactId> </dependency> <dependency> <groupId>io.quarkus.resteasy.reactive</groupId> <artifactId>resteasy-reactive</artifactId> </dependency> <dependency> <groupId>io.smallrye.reactive</groupId> <artifactId>mutiny-kotlin</artifactId> </dependency> </dependencies> <build> <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> <plugins> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-maven-plugin</artifactId> <configuration> <dependencyCondition> <artifact>io.quarkus:quarkus-kotlin</artifact> </dependencyCondition> <capabilities> <provides>io.quarkus.rest.kotlinx-serialization</provides> <provides>io.quarkus.resteasy.reactive.json.kotlinx-serialization</provides> </capabilities> </configuration> </plugin> <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> </execution> <execution> <id>test-compile</id> <goals> <goal>test-compile</goal> </goals> </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> <configuration> <annotationProcessorPaths> <path> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-processor</artifactId> <version>${project.version}</version> </path> </annotationProcessorPaths> </configuration> </execution> <execution> <id>java-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>javadoc</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </project>