Upgrade the nl.astraeus:vst-worklet-base dependency from version 1.0.0-SNAPSHOT to 1.0.1 in audio-worklet/build.gradle.kts. This change ensures compatibility with the updated library while bringing in any fixes or enhancements included in the new version.
49 lines
1.2 KiB
Kotlin
49 lines
1.2 KiB
Kotlin
@file:OptIn(ExperimentalKotlinGradlePluginApi::class, ExperimentalDistributionDsl::class)
|
|
|
|
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
|
|
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalDistributionDsl
|
|
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackOutput
|
|
|
|
buildscript {
|
|
apply(from = "../common.gradle.kts")
|
|
}
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
}
|
|
|
|
kotlin {
|
|
js {
|
|
compilerOptions {
|
|
target.set("es2015")
|
|
}
|
|
binaries.executable()
|
|
|
|
browser {
|
|
commonWebpackConfig {
|
|
outputFileName = "vst-chip-worklet.js"
|
|
sourceMaps = true
|
|
}
|
|
|
|
webpackTask {
|
|
output.libraryTarget = KotlinWebpackOutput.Target.VAR
|
|
output.library = "vstChipWorklet"
|
|
}
|
|
|
|
distribution {
|
|
outputDirectory.set(File("$projectDir/../web/"))
|
|
}
|
|
}
|
|
}
|
|
jvm()
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation("nl.astraeus:vst-worklet-base:1.0.1")
|
|
}
|
|
}
|
|
val jsMain by getting
|
|
}
|
|
}
|