Testing dom diffing

This commit is contained in:
2017-09-10 15:06:08 +02:00
parent 796ee81c7c
commit fdb37e711e
18 changed files with 242 additions and 245 deletions

View File

@@ -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/"))
}
}
}
}
*/