Upgrade JDK and simplify artifact configurations.

Updated project settings to use JDK 21 and its specific SDK naming. Simplified XML artifact configurations by removing module-output elements. Applied experimental annotation for JavaScript exports in Kotlin source files.
This commit is contained in:
2024-12-08 13:57:15 +01:00
parent 31f2d8060c
commit b20b2266ba
10 changed files with 16 additions and 20 deletions

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="audio-worklet-js-1.0.0-SNAPSHOT"> <artifact type="jar" name="audio-worklet-js-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/audio-worklet/build/libs</output-path> <output-path>$PROJECT_DIR$/audio-worklet/build/libs</output-path>
<root id="archive" name="audio-worklet-js-1.0.0-SNAPSHOT.jar"> <root id="archive" name="audio-worklet-js-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.audio-worklet.jsMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="audio-worklet-jvm-1.0.0-SNAPSHOT"> <artifact type="jar" name="audio-worklet-jvm-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/audio-worklet/build/libs</output-path> <output-path>$PROJECT_DIR$/audio-worklet/build/libs</output-path>
<root id="archive" name="audio-worklet-jvm-1.0.0-SNAPSHOT.jar"> <root id="archive" name="audio-worklet-jvm-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.audio-worklet.jvmMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="common-js-1.0.0-SNAPSHOT"> <artifact type="jar" name="common-js-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/common/build/libs</output-path> <output-path>$PROJECT_DIR$/common/build/libs</output-path>
<root id="archive" name="common-js-1.0.0-SNAPSHOT.jar"> <root id="archive" name="common-js-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.common.jsMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="common-jvm-1.0.0-SNAPSHOT"> <artifact type="jar" name="common-jvm-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/common/build/libs</output-path> <output-path>$PROJECT_DIR$/common/build/libs</output-path>
<root id="archive" name="common-jvm-1.0.0-SNAPSHOT.jar"> <root id="archive" name="common-jvm-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.common.jvmMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="vst-chip-js-1.0.0-SNAPSHOT"> <artifact type="jar" name="vst-chip-js-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/build/libs</output-path> <output-path>$PROJECT_DIR$/build/libs</output-path>
<root id="archive" name="vst-chip-js-1.0.0-SNAPSHOT.jar"> <root id="archive" name="vst-chip-js-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.jsMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -1,8 +1,6 @@
<component name="ArtifactManager"> <component name="ArtifactManager">
<artifact type="jar" name="vst-chip-jvm-1.0.0-SNAPSHOT"> <artifact type="jar" name="vst-chip-jvm-1.0.0-SNAPSHOT">
<output-path>$PROJECT_DIR$/build/libs</output-path> <output-path>$PROJECT_DIR$/build/libs</output-path>
<root id="archive" name="vst-chip-jvm-1.0.0-SNAPSHOT.jar"> <root id="archive" name="vst-chip-jvm-1.0.0-SNAPSHOT.jar" />
<element id="module-output" name="vst-chip.jvmMain" />
</root>
</artifact> </artifact>
</component> </component>

View File

@@ -2,6 +2,10 @@
<project version="4"> <project version="4">
<component name="JavaScriptLibraryMappings"> <component name="JavaScriptLibraryMappings">
<excludedPredefinedLibrary name="vst-chip/build/js/node_modules" /> <excludedPredefinedLibrary name="vst-chip/build/js/node_modules" />
<excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-base-test/node_modules" /> <excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-chip-audio-worklet-test/node_modules" />
<excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-chip-audio-worklet/node_modules" />
<excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-chip-common-test/node_modules" />
<excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-chip-test/node_modules" />
<excludedPredefinedLibrary name="vst-chip/build/js/packages/vst-chip/node_modules" />
</component> </component>
</project> </project>

2
.idea/misc.xml generated
View File

@@ -4,7 +4,7 @@
<component name="FrameworkDetectionExcludesConfiguration"> <component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" /> <file type="web" url="file://$PROJECT_DIR$" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="temurin-21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
<component name="accountSettings"> <component name="accountSettings">

View File

@@ -1,3 +1,5 @@
@file:OptIn(ExperimentalJsExport::class)
package nl.astraeus.vst.chip.audio package nl.astraeus.vst.chip.audio
import nl.astraeus.vst.chip.PatchDTO import nl.astraeus.vst.chip.PatchDTO

View File

@@ -1,3 +1,5 @@
@file:OptIn(ExperimentalJsExport::class)
package nl.astraeus.vst.chip.ws package nl.astraeus.vst.chip.ws
import kotlinx.browser.window import kotlinx.browser.window