neugartf
12/21/2020, 4:11 PM:ktlint
with SNAPSHOT-0.41.0? (gradle-6.7.1)
Execution failed for task ':ktlint'.
> Could not resolve all files for configuration ':ktlint'.
> Could not resolve com.pinterest:ktlint:0.41.0-SNAPSHOT.
Required by:
project :
> Cannot choose between the following variants of com.pinterest:ktlint:0.41.0-SNAPSHOT:20201220.202723-13:
- runtimeElements
- shadowRuntimeElements
All of them match the consumer attributes:
- Variant 'runtimeElements' capability com.pinterest:ktlint:0.41.0-SNAPSHOT:
- Unmatched attributes:
- Provides org.gradle.category 'library' but the consumer didn't ask for it
- Provides org.gradle.dependency.bundling 'external' but the consumer didn't ask for it
- Provides org.gradle.jvm.version '8' but the consumer didn't ask for it
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'integration' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
- Provides org.jetbrains.kotlin.localToProject 'public' but the consumer didn't ask for it
- Provides org.jetbrains.kotlin.platform.type 'jvm' but the consumer didn't ask for it
- Variant 'shadowRuntimeElements' capability com.pinterest:ktlint:0.41.0-SNAPSHOT:
- Unmatched attributes:
- Provides org.gradle.category 'library' but the consumer didn't ask for it
- Provides org.gradle.dependency.bundling 'shadowed' but the consumer didn't ask for it
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'integration' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
jlleitschuh
12/21/2020, 4:12 PMneugartf
12/21/2020, 4:16 PMjlleitschuh
12/21/2020, 5:32 PMtapchicoma
12/23/2020, 12:17 PMneugartf
12/23/2020, 12:18 PMtapchicoma
12/23/2020, 12:19 PMktlint-gradle
plugin? You could set snapshot version there as wellneugartf
12/23/2020, 12:20 PMneugartf
12/23/2020, 12:20 PMtapchicoma
12/23/2020, 12:20 PM6.0.0
tapchicoma
12/23/2020, 12:22 PM0.40.0
should work correctly.