Skip to content

Commit 3351d96

Browse files
author
Tomasz Lelek
committed
BAEL-382 add kotlin module
1 parent 7844b1d commit 3351d96

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

‎kotlin/pom.xml‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.baeldung</groupId>
8+
<artifactId>kotlin</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<dependencies>
12+
<dependency>
13+
<groupId>org.jetbrains.kotlin</groupId>
14+
<artifactId>kotlin-stdlib</artifactId>
15+
<version>1.0.4</version>
16+
</dependency>
17+
</dependencies>
18+
19+
<build>
20+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
21+
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
22+
<plugins>
23+
<plugin>
24+
<artifactId>kotlin-maven-plugin</artifactId>
25+
<groupId>org.jetbrains.kotlin</groupId>
26+
<version>1.0.4</version>
27+
28+
<executions>
29+
<execution>
30+
<id>compile</id>
31+
<goals>
32+
<goal>compile</goal>
33+
</goals>
34+
</execution>
35+
36+
<execution>
37+
<id>test-compile</id>
38+
<goals>
39+
<goal>test-compile</goal>
40+
</goals>
41+
</execution>
42+
</executions>
43+
</plugin>
44+
</plugins>
45+
</build>
46+
47+
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.baeldung
2+
3+
fun main(args: Array<String>){
4+
println("hello word")
5+
}

‎pom.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
<module>jsoup</module>
6868
<module>junit5</module>
6969

70+
<module>kotlin</module>
71+
7072
<module>log-mdc</module>
7173
<module>log4j</module>
7274
<module>log4j2</module>

0 commit comments

Comments
 (0)