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
The plugin itself works great, but it cannot be configured from Gradle written in Kotlin, because the RibbonizerExtension class is not public. That results into unresolved reference: builder, unresolved reference: forcedVariantsNames, etc. and the project cannot by synced.
Following is from helper methods generated by the kotlin-dsl:
/**
* Configures the [ribbonizer][com.github.gfx.ribbonizer.plugin.RibbonizerExtension] extension.
*
* `ribbonizer` is not accessible in a type safe way because:
* - `com.github.gfx.ribbonizer.plugin.RibbonizerExtension` is not public
*/
fun org.gradle.api.Project.`ribbonizer`(configure: Any.() -> Unit): Unit =
(this as org.gradle.api.plugins.ExtensionAware).extensions.configure("ribbonizer", configure)
I believe the only change you need to do is to declare the extension as public.
The text was updated successfully, but these errors were encountered:
tnj
linked a pull request
Feb 2, 2019
that will
close
this issue
The plugin itself works great, but it cannot be configured from Gradle written in Kotlin, because the
RibbonizerExtension
class is not public. That results intounresolved reference: builder
,unresolved reference: forcedVariantsNames
, etc. and the project cannot by synced.Following is from helper methods generated by the kotlin-dsl:
I believe the only change you need to do is to declare the extension as public.
The text was updated successfully, but these errors were encountered: