Closed kojilin closed 1 year ago
Thanks for your patience.
This doesn't work due to the changes made in #289. The problem can be worked around by downgrading to 1.0.10.RELEASE:
buildscript {
configurations.all {
resolutionStrategy {
eachDependency {
if (it.requested.group == 'io.spring.gradle') {
it.useVersion("1.0.10.RELEASE")
}
}
}
}
}
I think we'll have to disable the cache when configure on demand is enabled.
Multi module project with different group name and
org.gradle.configureondemand=true
may causeWhen running bootRun task of springboot plugin. The search-common project and server project has different
group
.I also created the issue at gradle side before, and after gradle side's investigation, they suggest me to ask here also. see https://github.com/gradle/gradle/issues/20377#issuecomment-1102553267
Expected Behavior
It works at gradle 7.3 but failed from 7.4
Current Behavior
Failed to run bootRun task.
Context
Steps to Reproduce
Sample project at https://github.com/kojilin/demo-issue group name of server/console/main is
com.example.server
,search:common iscom.example.search
Below 3 cases works
./gradlew :console:run
works(application plugin)org.gradle.configureondemand
tofalse
worksYour Environment
Build scan URL: https://scans.gradle.com/s/vrgi7ncupnydi