Testing dom diffing
This commit is contained in:
32
build.gradle
32
build.gradle
@@ -2,7 +2,7 @@ group 'nl.astraeus'
|
||||
version '0.0.1-SNAPSHOT'
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.1.4'
|
||||
ext.kotlin_version = '1.1.4-2'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
@@ -21,7 +21,7 @@ buildscript {
|
||||
|
||||
allprojects {
|
||||
ext {
|
||||
kotlin_version = '1.1.4'
|
||||
kotlin_version = '1.1.4-2'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,31 +37,15 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version"
|
||||
compile "nl.astraeus:komp:0.0.5-SNAPSHOT"
|
||||
compile "nl.astraeus:komp:0.0.6-SNAPSHOT"
|
||||
}
|
||||
|
||||
compileKotlin2Js {
|
||||
kotlinOptions.metaInfo = true
|
||||
|
||||
compileKotlin2Js.kotlinOptions.sourceMap = true
|
||||
compileKotlin2Js.kotlinOptions.outputFile = "${projectDir}/web/js/kotlin/komp-todo.js"
|
||||
compileKotlin2Js.kotlinOptions.suppressWarnings = true
|
||||
compileKotlin2Js.kotlinOptions.verbose = true
|
||||
kotlinOptions.sourceMap = true
|
||||
kotlinOptions.sourceMapEmbedSources = "always"
|
||||
kotlinOptions.outputFile = "${projectDir}/web/js/kotlin/komp-todo.js"
|
||||
kotlinOptions.suppressWarnings = true
|
||||
kotlinOptions.verbose = true
|
||||
}
|
||||
|
||||
/*
|
||||
compileKotlin2Js.doLast {
|
||||
configurations.compile.each { File file ->
|
||||
copy {
|
||||
includeEmptyDirs = false
|
||||
|
||||
from zipTree(file.absolutePath)
|
||||
into "${projectDir}/web/js/kotlin"
|
||||
include { fileTreeElement ->
|
||||
def path = fileTreeElement.path
|
||||
path.endsWith(".js") && (path.startsWith("META-INF/resources/") || !path.startsWith("META-INF/"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user