-
-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Seeing a series of these errors:
:buildSrc:generatePrecompiledScriptPluginAccessors
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.malinskiy.marathon']
org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.malinskiy.marathon'.
org.gradle.api.UnknownTaskException: Task with name 'marathonWrapper' not found in project ':buildSrc:generatePrecompiledScriptPluginAccessors:accessors13741167371926945111'.
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.malinskiy.marathon']
org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.malinskiy.marathon'.
org.gradle.api.UnknownTaskException: Task with name 'marathonWrapper' not found in project ':buildSrc:generatePrecompiledScriptPluginAccessors:accessors1512429817489567500'.
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.malinskiy.marathon']
org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.malinskiy.marathon'.
org.gradle.api.UnknownTaskException: Task with name 'marathonWrapper' not found in project ':buildSrc:generatePrecompiledScriptPluginAccessors:accessors8459745059630063086'.
My guess is that there's some weirdness with how marathon generates plugin script accessors for precompiled kotlin gradle script plugins.
I'm guessing line in question is here:
marathon/marathon-gradle-plugin/src/main/kotlin/com/malinskiy/marathon/gradle/MarathonPlugin.kt
Line 32 in e301ffb
val unpackMarathonTask = rootProject.tasks.getByName(MarathonUnpackTask.NAME, MarathonUnpackTask::class) |
Note: subprojects should not be accessing the root project as this will break configuration cache support and project isolation
Gradle slack convo on this
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working