summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-08-26 14:56:23 +0200
committernea <romangraef@gmail.com>2022-08-26 14:56:23 +0200
commit176e37844c17eaabb5c9da0f9c23237df9c0b5a8 (patch)
tree2c7d485355eed738ce1c30b03b7424e9f4a9db48 /example
parentb87a65229ad9c7d09fd837b95e9e03624842669b (diff)
downloadneamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.gz
neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.bz2
neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.zip
idk make it maveny
Diffstat (limited to 'example')
-rw-r--r--example/build.gradle.kts28
1 files changed, 25 insertions, 3 deletions
diff --git a/example/build.gradle.kts b/example/build.gradle.kts
index 46f4a6d..2efa08e 100644
--- a/example/build.gradle.kts
+++ b/example/build.gradle.kts
@@ -1,7 +1,29 @@
+plugins {
+ kotlin("js")
+}
-dependencies {
- implementation(npm("@fontsource/comic-mono", "^4.5.0"))
- implementation(rootProject)
+repositories {
+ mavenCentral()
}
+kotlin {
+ sourceSets.all {
+ languageSettings.optIn("kotlin.ExperimentalStdlibApi")
+ languageSettings.optIn("kotlin.RequiresOptIn")
+ }
+ js(IR) {
+ browser {
+ commonWebpackConfig {
+ sourceMaps = true
+ cssSupport.enabled = true
+ }
+ }
+ binaries.executable()
+ }
+}
+
+dependencies {
+ implementation(npm("@fontsource/comic-mono", "^4.5.0"))
+ implementation(rootProject)
+} \ No newline at end of file