Closed young-druid closed 2 years ago
kotlinx-cli library is published without hierarchical structure support. #82 should fix this.
Until then, please add this to your Gradle build script to workaround the problem:
tasks.matching { it.name == "compileCommonMainKotlinMetadata" }.all {
enabled = false
}
Created PR to enable HMPP https://github.com/Kotlin/kotlinx-cli/pull/83
Fixed with #83, published in library version 0.3.5.
I created a very simple project here. When I try to compile it from command line with
./gradlew clean build
I get the following error.If there is an misconfiguration on my side can you help to identify it? At the same time if I replace kotlinx-cli dependency with clikt it compiles fine. I tried
enableEndorsedLibs
. It didn't help as well. I want to note that IDEA recognises kotlinx-cli dependency and doesn't report any errors.