'outputFileName: String' is deprecated. Use `mainO...
# javascript
c
'outputFileName: String' is deprecated. Use
mainOutputFileName
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
.set("myValue")
🙌 1
c
thx
h
If you use a Kotlin build script, you could also update to Gradle 8.3.
c
is the syntax different in 8.3?
h
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
💡 2
c
sweet. Thanks for the insight
108 Views