From e22a062dbf501e58a27b9747571f4ae16499a2ea Mon Sep 17 00:00:00 2001 From: Ian Clarke Date: Sat, 21 Jul 2018 12:35:49 -0500 Subject: [PATCH] beginnings of optimizer --- build.gradle | 21 +++++++++++---------- src/main/kotlin/io/kweb/dom/style/style.kt | 2 ++ 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 src/main/kotlin/io/kweb/dom/style/style.kt diff --git a/build.gradle b/build.gradle index 04f6044f48..f734dacb9e 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ allprojects { } buildscript { - ext.kotlin_version = '1.2.50' + ext.kotlin_version = '1.2.51' ext.dokka_version = '0.9.15' ext.ktor_version = '0.9.3' @@ -30,12 +30,12 @@ buildscript { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0' classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" - classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.10' + classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.3.0' } } group 'io.kweb' -version '0.3.2' +version '0.3.3' apply plugin: 'java' @@ -76,7 +76,7 @@ configurations { configurations.all { resolutionStrategy { - force 'org.jetbrains.kotlinx:kotlinx-coroutines-io:0.21-alpha-2' + force 'org.jetbrains.kotlinx:kotlinx-coroutines-io:0.23.4' } } @@ -104,7 +104,7 @@ configurations { dependencies { compile 'com.github.salomonbrys.kotson:kotson:2.3.0' compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0' - compile group: 'commons-io', name: 'commons-io', version: '2.5' + compile group: 'commons-io', name: 'commons-io', version: '2.6' ////////////////////////////// // Kotlin library dependencies @@ -112,8 +112,8 @@ dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.21-alpha-2' - compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.21-alpha-2' + compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.23.4' + compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.23.4' // TODO: This should be testCompile compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.+' @@ -134,15 +134,16 @@ dependencies { exclude group : 'ch.qos.logback', module : 'logback-classic' } - compile('io.mola.galimatias:galimatias:0.2.0') + compile('io.mola.galimatias:galimatias:0.2.1') - compile 'io.github.microutils:kotlin-logging:1.4.9' + compile 'io.github.microutils:kotlin-logging:1.5.4' compile("org.reflections:reflections:0.9.11") compile 'com.github.kwebio:shoebox:0.2.18' compile 'com.github.yamamotoj:cached-property-kotlin:0.1.0' + /////////////////////////// // Dependencies for testing /////////////////////////// @@ -212,4 +213,4 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = "1.8" } -} \ No newline at end of file +} diff --git a/src/main/kotlin/io/kweb/dom/style/style.kt b/src/main/kotlin/io/kweb/dom/style/style.kt new file mode 100644 index 0000000000..b0799541a3 --- /dev/null +++ b/src/main/kotlin/io/kweb/dom/style/style.kt @@ -0,0 +1,2 @@ +package io.kweb.dom.style +