Skip to content

Commit

Permalink
[Wasm] Uninternalize destinationProvider in SetupTasks
Browse files Browse the repository at this point in the history
In previous versions we had destination, so we need to uninternalize replacer "destinationProvider"

^KT-73614 fixed
  • Loading branch information
ilgonmic authored and qodana-bot committed Dec 12, 2024
1 parent ca74ad2 commit 174174f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ abstract class AbstractSetupTask<Env : AbstractEnv, Spec : EnvSpec<Env>>(
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.")
Expand Down

0 comments on commit 174174f

Please sign in to comment.