Skip to content

Commit 69e1045

Browse files
committed
Add Kotlin Coroutines CDI Context Propagation
1 parent c4f766a commit 69e1045

File tree

7 files changed

+764
-0
lines changed

7 files changed

+764
-0
lines changed

bom/application/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,11 @@
613613
<artifactId>quarkus-arc</artifactId>
614614
<version>${project.version}</version>
615615
</dependency>
616+
<dependency>
617+
<groupId>io.quarkus</groupId>
618+
<artifactId>quarkus-arc-kotlin</artifactId>
619+
<version>${project.version}</version>
620+
</dependency>
616621
<dependency>
617622
<groupId>io.quarkus</groupId>
618623
<artifactId>quarkus-arc-dev</artifactId>

extensions/arc/deployment/pom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
<scope>test</scope>
6767
</dependency>
6868

69+
<dependency>
70+
<groupId>org.jetbrains.kotlinx</groupId>
71+
<artifactId>kotlinx-coroutines-test</artifactId>
72+
<scope>test</scope>
73+
</dependency>
6974
</dependencies>
7075

7176
<build>
@@ -87,6 +92,33 @@
8792
</execution>
8893
</executions>
8994
</plugin>
95+
<plugin>
96+
<groupId>org.jetbrains.kotlin</groupId>
97+
<artifactId>kotlin-maven-plugin</artifactId>
98+
<version>${kotlin.version}</version>
99+
<executions>
100+
<execution>
101+
<id>compile</id>
102+
<goals>
103+
<goal>compile</goal>
104+
</goals>
105+
</execution>
106+
<execution>
107+
<id>test-compile</id>
108+
<goals>
109+
<goal>test-compile</goal>
110+
</goals>
111+
<configuration>
112+
<sourceDirs>
113+
<source>src/test/kotlin</source>
114+
</sourceDirs>
115+
</configuration>
116+
</execution>
117+
</executions>
118+
<configuration>
119+
<jvmTarget>${maven.compiler.target}</jvmTarget>
120+
</configuration>
121+
</plugin>
90122
</plugins>
91123
</build>
92124
</project>

0 commit comments

Comments
 (0)