Skip to content
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

Not possible to use libs.xy based on TOML file inside of custom configuration with closure #15350

Closed
tprochazka opened this issue Nov 27, 2020 · 0 comments
Labels
Milestone

Comments

@tprochazka
Copy link

I tested a new TOML file dependency definition introduced by #14896
Tested on 6.9-20201126230040+0000

There is missing possibility to declare dependency in this way:

val custom by configurations
custom(libs.uiSkeleton) {
    because("Some comment why why need this dependency")
}

it ends with
e: ...lib_ui_skeleton\build.gradle.kts:34:12: Type mismatch: inferred type is Provider<MinimalExternalModuleDependency!>! but String was expected

@tprochazka tprochazka changed the title Not possible to use libs.xy based on TOML file inside of custom configuration and with closure Not possible to use libs.xy based on TOML file inside of custom configuration with closure Nov 27, 2020
@melix melix added the @jvm label Nov 27, 2020
@melix melix added this to the 6.9 RC1 milestone Nov 27, 2020
@lptr lptr added @execution and removed @execution labels Dec 4, 2020
@big-guy big-guy modified the milestones: 6.9 RC1, 7.0 RC1 Dec 8, 2020
@melix melix closed this as completed in 189965d Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants