instead. But the former accept a string while the latter requires Property<String>. How can I switch outputFileName = "myValue" to the required mainOutputFileName type
j
jw
09/14/2023, 3:41 PM
.set("myValue")
🙌 1
c
Chrys
09/14/2023, 3:42 PM
thx
h
hfhbd
09/14/2023, 3:53 PM
If you use a Kotlin build script, you could also update to Gradle 8.3.
c
Chrys
09/14/2023, 3:54 PM
is the syntax different in 8.3?
h
hfhbd
09/14/2023, 3:55 PM
No, but Gradle 8.3 uses a Kotlin compiler plugin that allows you to assign a String to a Property<String>, and other type parameters of course to not enforce you to use set