Update kotlin, use umd
This commit is contained in:
52
build.gradle
52
build.gradle
@@ -1,12 +1,39 @@
|
||||
group 'nl.astraeus'
|
||||
version '0.1.16-SNAPSHOT'
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.70'
|
||||
repositories {
|
||||
maven {
|
||||
url "http://nexus.astraeus.nl/nexus/content/groups/public"
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.js") version "1.3.70"
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin2js'
|
||||
apply plugin: 'kotlin-dce-js'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
group 'nl.astraeus'
|
||||
version '0.1.16-SNAPSHOT'
|
||||
|
||||
kotlin {
|
||||
target {
|
||||
browser {
|
||||
webpackTask {
|
||||
output.libraryTarget = "umd"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
compileKotlinJs.kotlinOptions.moduleKind = "umd"
|
||||
|
||||
idea {
|
||||
module {
|
||||
name = "komp"
|
||||
@@ -21,20 +48,7 @@ repositories {
|
||||
}
|
||||
|
||||
ext {
|
||||
kotlin_version = '1.3.50'
|
||||
}
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.50'
|
||||
repositories {
|
||||
maven {
|
||||
url "http://nexus.astraeus.nl/nexus/content/groups/public"
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
kotlin_version = '1.3.70'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -56,9 +70,11 @@ uploadArchives {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
compileKotlin2Js {
|
||||
kotlinOptions.sourceMap = true
|
||||
kotlinOptions.sourceMapEmbedSources = "always"
|
||||
|
||||
// remaining configuration options
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user