Open chirag-ji opened 3 years ago
Also getting this error at 1.1.8
for gradle 7!
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':my-project'.
> Configuration <compile> not found.
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.
tasks {
withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
I hope this will float the boat until a fix is out.
may be you could try a compatible 7.3.2 version made by myself: https://github.com/mfuerstenau/gradle-buildconfig-plugin/pull/31
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