Open strindberg opened 9 years ago
Hi, this is known problem, caused by naming conflict between configurations in Gretty and in War plugin. I'll try to fix it in the next version (comes in third week of November). Please use old syntax for now:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:1.1.7'
}
}
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
I see the same problem in gretty 1.1.8.
I renamed "provided" configuration to "grettyProvidedCompile" to avoid conflicts with war plugin. The corresponding change is available in Gretty 1.1.9-SNAPSHOT. Gretty 1.1.9 release is due on 03.03.2015.
I am unsure if I have misunderstood how you are supposed to configure this, but this behavior is unexpected for mer. Consider the following minimal build.gradle:
Running this under gradle 2.1 gives me the following output: