-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task 'aggregateScoverage' not found in root project #176
Comments
Hmm, but the code seem strange, because inside we say and inside this one But gradle has no chances to jump into this block, because somewhere between those 2 gradle checks gradle checks if the task which we're calling from the console (
As a result we never go into the clousure defined within Question: Why cc @eyalroth I see you were the last one touching this area, so maybe you know? |
Huh, configuration-on-demand changes behaviour of When I temporarily disabled it:
then it enters the scope which creates I think this very old issue is related: Unfortunately disabling configuration-on-demand isn't a proper fix for us, as we need configuration-on-demand (we've got monorepo with severa hundreds of modules). |
@mwos-sl Did you ever find a solution to this? Currently seeing the same issue when attempting to use the plugin with |
From what I remember we eventually picked a different plugin for this.
…On Wed, Jun 28, 2023, 17:27 Ben Willis ***@***.***> wrote:
@mwos-sl <https://github.com/mwos-sl> Did you ever find a solution to
this? Currently seeing the same issue when attempting to use the plugin
with configuration-on-demand enabled in a mono-repo with a large number
of projects.
—
Reply to this email directly, view it on GitHub
<#176 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABF4AJETCYOJAZ52UQNQUYLXNRENVANCNFSM5INALM5A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I've got multi-project gradle build. Root build.gradle:
When I call
I get error:
So even though it seems it should be there (https://github.com/scoverage/gradle-scoverage/blob/master/src/main/groovy/org/scoverage/ScoveragePlugin.groovy#L313), I followed the answers from some other issues (#33, #85 (comment), #66) and added this in the root:
without even defining dependancy yet, and when I rerun the gradlew command I get:
even though it was claimed to not exist before I added 🤯
Env
scala 2.11.15
gradle 7.2
gradle scoverage plugin 7.0.0
scoverage 1.4.10
The text was updated successfully, but these errors were encountered: