From 174174f030333d4e7738a8d1ff0821e14ee6e853 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Tue, 10 Dec 2024 12:57:50 +0100 Subject: [PATCH] [Wasm] Uninternalize destinationProvider in SetupTasks In previous versions we had destination, so we need to uninternalize replacer "destinationProvider" ^KT-73614 fixed --- .../tools/kotlin-gradle-plugin/api/all/kotlin-gradle-plugin.api | 1 + .../org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/tools/kotlin-gradle-plugin/api/all/kotlin-gradle-plugin.api b/libraries/tools/kotlin-gradle-plugin/api/all/kotlin-gradle-plugin.api index fbb634c20a126..7d8b4e762afda 100644 --- a/libraries/tools/kotlin-gradle-plugin/api/all/kotlin-gradle-plugin.api +++ b/libraries/tools/kotlin-gradle-plugin/api/all/kotlin-gradle-plugin.api @@ -2956,6 +2956,7 @@ public abstract class org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask : public final fun getDestination ()Ljava/io/File; public final fun getDestinationHashFile ()Ljava/io/File; public final fun getDestinationHashFileProvider ()Lorg/gradle/api/file/RegularFileProperty; + public final fun getDestinationProvider ()Lorg/gradle/api/file/RegularFileProperty; public final fun getDist ()Ljava/io/File; public final fun getDownloadBaseUrl ()Ljava/lang/String; public final fun getDownloadBaseUrlProvider ()Lorg/gradle/api/provider/Provider; diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt index 1545c4a65f48e..39ea26b57b182 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/AbstractSetupTask.kt @@ -69,7 +69,7 @@ abstract class AbstractSetupTask>( get() = downloadBaseUrlProvider.orNull @get:OutputDirectory - internal val destinationProvider: RegularFileProperty = project.objects.fileProperty() + val destinationProvider: RegularFileProperty = project.objects.fileProperty() .fileProvider(env.map { it.dir }) @Deprecated("Use destinationProvider instead. It uses Gradle Provider API.")