Skip to content

Instantly share code, notes, and snippets.

@cypressious
Created November 24, 2017 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cypressious/674bebc8b53fea6561d502da77329ff1 to your computer and use it in GitHub Desktop.
Save cypressious/674bebc8b53fea6561d502da77329ff1 to your computer and use it in GitHub Desktop.
buildscript {
ext.kotlin_version = '1.1.60'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
version '1.0-SNAPSHOT'
allprojects {
apply plugin: 'kotlin2js'
apply plugin: 'kotlin-dce-js'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version"
}
compileKotlin2Js {
kotlinOptions.sourceMap = true
kotlinOptions.sourceMapEmbedSources = "always"
}
}
rootProject.name = 'kt-beastify'
include ':popup', ':content_script'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment