Created
April 29, 2022 14:51
-
-
Save frhack/d5abdb7db4fd7a0bfcd10411b32f9991 to your computer and use it in GitHub Desktop.
kotlin reactstrap gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group = "org.example" | |
version = "1.0-SNAPSHOT" | |
plugins { | |
val kotlinVersion="1.6.20" | |
kotlin("js") version kotlinVersion | |
kotlin("plugin.serialization") version kotlinVersion | |
} | |
repositories { | |
mavenCentral() | |
} | |
kotlin { | |
js { | |
browser { | |
commonWebpackConfig { | |
cssSupport.enabled = true | |
sourceMaps = false | |
} | |
} | |
binaries.executable() | |
} | |
} | |
val kotlinWrappersVersion = "0.0.1-pre.331-kotlin-1.6.20" | |
dependencies { | |
implementation(enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:$kotlinWrappersVersion")) | |
implementation("org.jetbrains.kotlin-wrappers:kotlin-react") | |
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom") | |
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-core") | |
implementation("org.jetbrains.kotlin-wrappers:kotlin-csstype") | |
implementation("org.jetbrains.kotlin-wrappers:kotlin-emotion") | |
implementation(npm("reactstrap", "reactstrap v9.0.2")) | |
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1") | |
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment