Maven
Maven is a build system that helps manage Kotlin-only or mixed Kotlin−Java projects and automate your building process. It works with JVM-based projects and downloads required dependencies, compiles and packages your code. Learn more about its basics and specifics on the Maven website.
Here's a general workflow when working with a Kotlin Maven project:
To get started, you can also follow our step-by-step tutorials:
What's next?
Improve your debugging experience with the
power-assertplugin.Measure test coverage and generate reports with the
kover-maven-plugin.Configure annotation processing with the
kaptplugin.Generate documentation with the Dokka documentation engine. It supports mixed-language projects and can generate output in multiple formats, including standard Javadoc.
Enable OSGi support by adding the
kotlin-osgi-bundle.