This message was deleted.
# kotlin-dsl
s
This message was deleted.
v
You cannot
👍 1
v
The issue with gradleProperty is it provides a values from a root project only https://github.com/gradle/gradle/issues/23572 :-/
v
That's not "the" issue, it is "one" issue. :-D It also does not provide Gradle properties, but project properties, despite its name. And there is not yet a way to set either of those programmatically. You can just set extra properties which are considered by normal `findProperty`/`getProperty`, but not by those providers.
🤣 1
s
my solution was this:
val pluginVersion: Property<String> = _project_._objects_._property_(String::class).value(_semanticVersion_(_project_))
then use pluginVersion instead of providers.gradleProperty("pluginVersion") I have a single module project, but I assume its also possible to put that in a script plugin and apply the plugin to all modules.