Upgrade Kotlin to 2.3.0, refine MainView, and update dependencies
Updated Kotlin Multiplatform to 2.3.0 for enhanced compatibility and improvements. Streamlined `MainView` with cleaner structure, added responsive scaling, and introduced a `HiddenCss` class. Upgraded various dependencies, including `vst-ui-base` to 2.2.3 and `midi-arrays` to 0.3.6, ensuring better functionality and consistency. Added changes to build task configurations for improved build pipelines.
This commit is contained in:
@@ -56,8 +56,8 @@ kotlin {
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
api("nl.astraeus:vst-ui-base:2.0.0")
|
||||
implementation("nl.astraeus:midi-arrays:0.3.4")
|
||||
api("nl.astraeus:vst-ui-base:2.2.3")
|
||||
implementation("nl.astraeus:midi-arrays:0.3.6")
|
||||
}
|
||||
}
|
||||
val jsMain by getting
|
||||
@@ -85,6 +85,17 @@ tasks.register<Copy>("buildJS") {
|
||||
from(layout.projectDirectory.dir("web2"))
|
||||
into(layout.projectDirectory.dir("web"))
|
||||
}
|
||||
tasks.register<Copy>("buildJSProd") {
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
dependsOn("audio-worklet:jsBrowserDistribution")
|
||||
dependsOn("jsBrowserDistribution")
|
||||
|
||||
from(layout.projectDirectory.dir("web1"))
|
||||
into(layout.projectDirectory.dir("web"))
|
||||
|
||||
from(layout.projectDirectory.dir("web2"))
|
||||
into(layout.projectDirectory.dir("web"))
|
||||
}
|
||||
|
||||
/* Hardcoded deploy configuration */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user