summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authornea <romangraef@loves.dicksinhisan.us>2021-12-06 22:58:45 +0100
committernea <romangraef@loves.dicksinhisan.us>2021-12-06 22:58:45 +0100
commit6b44e60fc4efc23a30f16492bf9dc17aa30b66c5 (patch)
tree49af50b6260af48dc43c54fb1dd1dcb2a82dbd51 /build.gradle.kts
downloadneamoe-6b44e60fc4efc23a30f16492bf9dc17aa30b66c5.tar.gz
neamoe-6b44e60fc4efc23a30f16492bf9dc17aa30b66c5.tar.bz2
neamoe-6b44e60fc4efc23a30f16492bf9dc17aa30b66c5.zip
Awful react version
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts39
1 files changed, 39 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000..140e1e2
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,39 @@
+plugins {
+ kotlin("js") version "1.5.31"
+ kotlin("plugin.serialization") version "1.5.31"
+ id("com.bnorm.react.kotlin-react-function") version "0.6.0"
+ id("com.github.node-gradle.node") version "3.1.1"
+}
+
+repositories {
+ mavenCentral()
+}
+
+kotlin {
+ js(IR) {
+ browser {
+ commonWebpackConfig {
+ sourceMaps = true
+ cssSupport.enabled = true
+ }
+ }
+ binaries.executable()
+ }
+}
+
+val processResources by tasks.getting(Copy::class)
+
+dependencies {
+ implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1")
+ implementation(enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:0.0.1-pre.256-kotlin-1.5.31"))
+ implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom")
+ implementation("org.jetbrains.kotlin-wrappers:kotlin-styled")
+ implementation(npm("@fontsource/comic-mono", "^4.5.0"))
+ implementation(npm("prop-types", "^15.6.2"))
+}
+
+
+
+group = "moe.nea"
+version = "1.0-SNAPSHOT" \ No newline at end of file