Skip to content

Commit

Permalink
Upgrade to KVision 0.0.39
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaros committed Sep 24, 2019
1 parent 7eaf5b7 commit a295d32
Show file tree
Hide file tree
Showing 85 changed files with 252 additions and 222 deletions.
7 changes: 4 additions & 3 deletions addressbook-fullstack-jooby/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackRunTask
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce

Expand All @@ -22,6 +22,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
Expand Down Expand Up @@ -207,7 +208,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(kotlin.sourceSets["frontendMain"].kotlin.files)
outputs.file("$projectDir/src/frontendMain/resources/i18n/messages.pot")
Expand All @@ -223,7 +224,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
"${it.parent}/${it.nameWithoutExtension}.json",
Expand Down
8 changes: 4 additions & 4 deletions addressbook-fullstack-jooby/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
#Dependencies
kvisionVersion=0.0.38
joobyVersion=1.6.0
kvisionVersion=0.0.39
joobyVersion=1.6.4
pac4jVersion=2.3.1
springSecurityCryptoVersion=5.1.0.RELEASE
commonsLoggingVersion=1.2
Expand Down
2 changes: 1 addition & 1 deletion addressbook-fullstack-jooby/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
// mavenCentral()
mavenCentral()
jcenter()
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
7 changes: 4 additions & 3 deletions addressbook-fullstack-ktor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackRunTask
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce

Expand All @@ -22,6 +22,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
Expand Down Expand Up @@ -218,7 +219,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(kotlin.sourceSets["frontendMain"].kotlin.files)
outputs.file("$projectDir/src/frontendMain/resources/i18n/messages.pot")
Expand All @@ -234,7 +235,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args(
"$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
Expand Down
8 changes: 4 additions & 4 deletions addressbook-fullstack-ktor/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
#Dependencies
kvisionVersion=0.0.38
ktorVersion=1.2.2
kvisionVersion=0.0.39
ktorVersion=1.2.4
hikariVersion=3.2.0
commonsCodecVersion=1.10
jdbcNamedParametersVersion=1.1
Expand Down
2 changes: 1 addition & 1 deletion addressbook-fullstack-ktor/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
// mavenCentral()
mavenCentral()
jcenter()
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
7 changes: 4 additions & 3 deletions addressbook-fullstack-spring-boot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackRunTask
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce
Expand Down Expand Up @@ -30,6 +30,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
mavenCentral()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down Expand Up @@ -227,7 +228,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(kotlin.sourceSets["frontendMain"].kotlin.files)
outputs.file("$projectDir/src/frontendMain/resources/i18n/messages.pot")
Expand All @@ -243,7 +244,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
"${it.parent}/${it.nameWithoutExtension}.json",
Expand Down
8 changes: 4 additions & 4 deletions addressbook-fullstack-spring-boot/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
systemProp.dependencyManagementPluginVersion=1.0.4.RELEASE
systemProp.springBootVersion=2.1.6.RELEASE
systemProp.springBootVersion=2.1.8.RELEASE
#Dependencies
kvisionVersion=0.0.38
kvisionVersion=0.0.39
springMvcPac4jVersion=4.0.0-SNAPSHOT
pac4jVersion=3.3.0
springSecurityCryptoVersion=5.1.0.RELEASE
Expand Down
1 change: 1 addition & 0 deletions addressbook-fullstack-spring-boot/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pluginManagement {
repositories {
mavenCentral()
jcenter()
gradlePluginPortal()
maven { url = uri("https://plugins.gradle.org/m2/") }
Expand Down
7 changes: 4 additions & 3 deletions addressbook-tabulator/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce

Expand All @@ -21,6 +21,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
Expand Down Expand Up @@ -132,7 +133,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(sourceSets["main"].allSource)
outputs.file("$projectDir/src/main/resources/i18n/messages.pot")
Expand All @@ -148,7 +149,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args(
"$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
Expand Down
6 changes: 3 additions & 3 deletions addressbook-tabulator/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
#Dependencies
kvisionVersion=0.0.38
kvisionVersion=0.0.39
2 changes: 1 addition & 1 deletion addressbook-tabulator/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
// mavenCentral()
mavenCentral()
jcenter()
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
7 changes: 4 additions & 3 deletions addressbook/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce

Expand All @@ -21,6 +21,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
Expand Down Expand Up @@ -132,7 +133,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(sourceSets["main"].allSource)
outputs.file("$projectDir/src/main/resources/i18n/messages.pot")
Expand All @@ -148,7 +149,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args(
"$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
Expand Down
6 changes: 3 additions & 3 deletions addressbook/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
#Dependencies
kvisionVersion=0.0.38
kvisionVersion=0.0.39
2 changes: 1 addition & 1 deletion addressbook/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
// mavenCentral()
mavenCentral()
jcenter()
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
7 changes: 4 additions & 3 deletions desktop/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.frontend.KotlinFrontendExtension
import org.jetbrains.kotlin.gradle.frontend.npm.NpmExtension
import org.jetbrains.kotlin.gradle.frontend.webpack.WebPackExtension
import org.jetbrains.kotlin.gradle.targets.js.nodejs.nodeJs
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce

Expand All @@ -21,6 +21,7 @@ version = "1.0.0-SNAPSHOT"
group = "com.example"

repositories {
mavenCentral()
jcenter()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
Expand Down Expand Up @@ -131,7 +132,7 @@ tasks {
create("generatePotFile", Exec::class) {
dependsOn("npm-install", "generateGruntfile")
workingDir = file("$buildDir")
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args("$buildDir/node_modules/grunt/bin/grunt", "pot")
inputs.files(sourceSets["main"].allSource)
outputs.file("$projectDir/src/main/resources/i18n/messages.pot")
Expand All @@ -147,7 +148,7 @@ afterEvaluate {
it.isFile && it.extension == "po"
}.forEach {
exec {
executable = project.nodeJs.root.nodeCommand
executable = NodeJsRootPlugin.apply(project).nodeCommand
args(
"$buildDir/node_modules/po2json/bin/po2json",
it.absolutePath,
Expand Down
6 changes: 3 additions & 3 deletions desktop/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
javaVersion=1.8
kotlin.incremental.js=false
#Plugins
systemProp.kotlinVersion=1.3.41
systemProp.kotlinVersion=1.3.50
systemProp.frontendPluginVersion=0.0.45
serializationVersion=0.11.1
serializationVersion=0.13.0
#Dependencies
kvisionVersion=0.0.38
kvisionVersion=0.0.39
2 changes: 1 addition & 1 deletion desktop/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
// mavenCentral()
mavenCentral()
jcenter()
maven { url = uri("https://plugins.gradle.org/m2/") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
Loading

0 comments on commit a295d32

Please sign in to comment.