Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 804 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 804 Bytes

kotlin-maven

Set up a project that uses Kotlin and Maven to target the JVM.

It's based on Maven in 5 Minutes and Using Maven with Kotlin.

Setup

First, click the Use this template button and create a repository from that screen.

Then update pom.xml to change the name, group ID, artifact ID, et cetera, and update the src/main and src/test directory layout to match.

Usage

# Run tests and create a JAR
mvn package
# Run it
java -cp target/kotlin-maven-1.0-SNAPSHOT-jar-with-dependencies.jar com.mycompany.app.App