HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.13, which is no longer officially supported. Click here for the latest version, 2.18!

The Kotlin programming language (https://kotlinlang.org/).

Backend: pants.backend.experimental.kotlin
Config section: [kotlin]

Basic options

version_for_resolve

--kotlin-version-for-resolve="{'key1': val1, 'key2': val2, ...}"

PANTS_KOTLIN_VERSION_FOR_RESOLVE

default: {}

A dictionary mapping the name of a resolve to the Kotlin version to use for all Kotlin targets consuming that resolve.


Advanced options

tailor_source_targets

--[no-]kotlin-tailor-source-targets

PANTS_KOTLIN_TAILOR_SOURCE_TARGETS

default: True

If true, add kotlin_sources targets with the tailor goal.


Deprecated options

None