This `destination` property (<https://github.com/J...
# javascript
r
This
destination
property (https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt#L76) is now deprecated and the message suggests using
destinationProvider
. But it is internal. What am I missing?
I'm using this in my plugin to get nodeJS executable path, but I have deprecation problems after upgrading to 2.1.0 https://github.com/rjaros/kvision/blob/master/kvision-tools/kvision-gradle-plugin/src/main/kotlin/io/kvision/gradle/KVisionPlugin.kt#L583 Is there any easier way to do this?
a
@Ilya Goncharov [JB] ^^
i
I think it is the problem in current implementation. Sorry for that! In the following version there will be a possibility to get
executablePath
from an Gradle extension
r
That's what I have assumed looking at the current sources. I've just suppressed the deprecation warnings for now. Thanks.