This message was deleted.
# plugin-development
s
This message was deleted.
j
Copy code
Execution 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
Solved with
@Tapchicoma should be great an easy way to get those configuration working out of the box
g
Javi, why so crazy with that color layout? 😄
j
It is similar to the default one but vivid colors and adding colors to interfaces (green) or classes(blue) :)
t
should 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
configuration
j
Even being
testPluginClasspath
a custom configuration created by the user?
t
yeah, missed that 🤦‍♂️
then you need to manually add such attributes - I don't see how Kotlin Gradle plugin could help in this case
j
It can be hard for non Gradle experts to get a plugin setup working with test kit TBH. Not sure if that
testPluginClasspath
should already be provided by Gradle directly