Slackbot
07/06/2022, 11:13 AMJavi
07/06/2022, 11:28 AMExecution failed for task ':semver-gradle-plugin:pluginUnderTestMetadata'.
> Error while evaluating property 'paths' of task ':semver-gradle-plugin:pluginUnderTestMetadata'
> Could not resolve all files for configuration ':semver-gradle-plugin:testPluginClasspath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0.
Required by:
project :semver-gradle-plugin
> Cannot choose between the following variants of org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- gradle70RuntimeElements
- runtimeElements
All of them match the consumer attributes:
- Variant 'gradle70RuntimeElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- 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.environment 'standard-jvm' 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.plugin.api-version '7.0' but the consumer didn't ask for it
- Provides org.gradle.status 'release' 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.platform.type 'jvm' but the consumer didn't ask for it
- Variant 'runtimeElements' capability org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- 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.environment 'standard-jvm' 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 'release' 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.platform.type 'jvm' but the consumer didn't ask for it
Javi
07/06/2022, 11:47 AMJavi
07/06/2022, 11:48 AMGiuseppe Barbieri
07/06/2022, 6:27 PMJavi
07/06/2022, 6:44 PMTapchicoma
07/07/2022, 9:29 AMshould be great an easy way to get those configuration working out of the box@Javi I would say it is a Gradle issue - Gradle plugin development plugin should add such attributes to
testPluginClasspath
configurationJavi
07/07/2022, 9:30 AMtestPluginClasspath
a custom configuration created by the user?Tapchicoma
07/07/2022, 9:30 AMTapchicoma
07/07/2022, 9:31 AMJavi
07/07/2022, 9:34 AMtestPluginClasspath
should already be provided by Gradle directly