You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upgraded to gradle 7.0.2 version. I am experiencing a problem that applying id "de.fuerstenau.buildconfig" version "1.1.8" throwing below gradle exception
Caused by: org.gradle.api.GradleException: Configuration not found
Caused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'compile' not found.
at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:165)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:333)
at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:155)
at org.gradle.api.internal.artifacts.configurations.ConfigurationContainerInternal$getByName.call(Unknown Source)
at de.fuerstenau.gradle.buildconfig.BuildConfigPlugin.getCompileConfiguration(BuildConfigPlugin.groovy:73)
build.gradle
plugins {
id 'org.springframework.boot'
id 'java'
id 'war'
id "de.fuerstenau.buildconfig" version "1.1.8"
}
Please take a look
The text was updated successfully, but these errors were encountered:
I've found a workaround, that seems to be working. I've just created an empty compile configuration.
configurations {
create("compile")
}
But then I get a new issues which is:
Execution failed for task ':jar'.
> Entry com/fiftytwo/vim/BuildConfig.class is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
Which is then solved by adding a DuplicatesStrategy to my jar task.
While upgraded to gradle 7.0.2 version. I am experiencing a problem that applying
id "de.fuerstenau.buildconfig" version "1.1.8"
throwing below gradle exceptionbuild.gradle
Please take a look
The text was updated successfully, but these errors were encountered: