You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In gradle 6.1 the extension method ScriptHandler.repositories(configuration: RepositoryHandler.() -> Unit) moved from file org/gradle/kotlin/dsl/ProjectExtensions.kt to org/gradle/kotlin/dsl/ScriptHandlerExtensions.kt.
This causes the generated class name is changed.
The text was updated successfully, but these errors were encountered:
big-guy
changed the title
Compiled plugins with kotlin-dsl repository{} in buildscript block are broken since 6.1
Plugins using kotlin-dsl and compiled with 6.1 are incompatible with Gradle 6.0
Jan 24, 2020
Expected Behavior
Build still works
Current Behavior
Build failed
Context
The compiled plugin with kotlin-dsl
repository { ... }
inbuildscript{ ... }
block use gradle 6.0.1 are broken in gradle 6.1.Steps to Reproduce
Compile plugin use gradle 6.0.1
Apply the plugin in gradle 6.1
Report error
Cause
In gradle 6.1 the extension method
ScriptHandler.repositories(configuration: RepositoryHandler.() -> Unit)
moved from file org/gradle/kotlin/dsl/ProjectExtensions.kt to org/gradle/kotlin/dsl/ScriptHandlerExtensions.kt.This causes the generated class name is changed.
The text was updated successfully, but these errors were encountered: