Skip to content

Commit e081186

Browse files
authored
[JAVA-33829] (#886)
1 parent 24a574e commit e081186

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

kotlin-api/pom.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
5+
>
6+
<modelVersion>4.0.0</modelVersion>
7+
<artifactId>kotlin-api</artifactId>
8+
<name>kotlin-api</name>
9+
<packaging>jar</packaging>
10+
11+
<parent>
12+
<artifactId>kotlin-modules</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>1.0.0-SNAPSHOT</version>
15+
</parent>
16+
17+
<build>
18+
<sourceDirectory>src/main/kotlin</sourceDirectory>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<artifactId>kotlin-maven-plugin</artifactId>
23+
<version>${kotlin.version}</version>
24+
<executions>
25+
<execution>
26+
<id>compile</id>
27+
<phase>compile</phase>
28+
<goals>
29+
<goal>compile</goal>
30+
</goals>
31+
</execution>
32+
<execution>
33+
<id>test-compile</id>
34+
<phase>test-compile</phase>
35+
<goals>
36+
<goal>test-compile</goal>
37+
</goals>
38+
</execution>
39+
</executions>
40+
<configuration>
41+
<args>
42+
<arg>-Xexplicit-api=strict</arg>
43+
</args>
44+
</configuration>
45+
</plugin>
46+
</plugins>
47+
</build>
48+
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
<!-- <module>koin-guide</module> --> <!-- not a Maven module -->
365365
<!-- <module>kotest</module> --> <!-- not a Maven module -->
366366
<!-- <module>kotlin-apache-kafka</module> --> <!-- not a Maven module -->
367-
<!-- <module>kotlin-api</module> --> <!-- not a Maven module -->
367+
<module>kotlin-api</module>
368368
<!-- <module>kotlin-build-plugins</module> --> <!-- not a Maven module -->
369369
<module>kotlin-immutable-collections</module>
370370
<!-- <module>kotlin-js</module> --> <!-- not a Maven module -->

0 commit comments

Comments
 (0)