BAEL-382 add kotlin module

This commit is contained in:
Tomasz Lelek 2017-01-02 11:51:12 +01:00
parent 7844b1d4e4
commit 3351d96147
3 changed files with 54 additions and 0 deletions

47
kotlin/pom.xml Normal file
View File

@ -0,0 +1,47 @@
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>kotlin</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>1.0.4</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>
</plugins>
</build>
</project>

View File

@ -0,0 +1,5 @@
package com.baeldung
fun main(args: Array<String>){
println("hello word")
}

View File

@ -67,6 +67,8 @@
<module>jsoup</module> <module>jsoup</module>
<module>junit5</module> <module>junit5</module>
<module>kotlin</module>
<module>log-mdc</module> <module>log-mdc</module>
<module>log4j</module> <module>log4j</module>
<module>log4j2</module> <module>log4j2</module>