Gavin Ray
04/23/2024, 4:00 PMlibs
from /gradle/libs.versions.toml
in my plugins {}
blocks?
I have a subproject foo
where I'm trying to do this:
plugins {
id(libs.kotlin.allopen.plugin)
}
That being declared in libs.versions.toml
as:
[versions]
kotlin = "1.9.22"
[libraries]
kotlin-allopen-plugin = { module = "org.jetbrains.kotlin:kotlin-allopen", version.ref = "kotlin" }
Gavin Ray
04/23/2024, 4:01 PMType mismatch: inferred type is Provider<MinimalExternalModuleDependency!>! but String was expected
Vampire
04/23/2024, 4:07 PM[plugins]
section and use alias(...)
instead of id(...)
Gavin Ray
04/23/2024, 4:09 PM