diesieben07

Untitled

Jun 14th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.55 KB | None | 0 0
  1. plugins {
  2.     kotlin("multiplatform") version "1.4-SNAPSHOT"
  3. }
  4. group = "me.take"
  5. version = "1.0-SNAPSHOT"
  6.  
  7. repositories {
  8.     mavenLocal()
  9. }
  10.  
  11. kotlin {
  12.     js {
  13.         useCommonJs()
  14.         binaries.executable()
  15.         browser()
  16.     }
  17.  
  18.     sourceSets {
  19.         val commonMain by getting {
  20.             dependencies {
  21.                 implementation(kotlin("stdlib-common"))
  22.             }
  23.         }
  24.         val jsMain by getting {
  25.             dependencies {
  26.                 implementation(kotlin("stdlib-js"))
  27.             }
  28.         }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment