version bumps. Kotlin 1.7 and yarn.lock and others
This commit is contained in:
parent
f151027464
commit
33d31bfbdd
12 changed files with 450 additions and 718 deletions
|
|
@ -12,6 +12,9 @@ dependencyResolutionManagement {
|
||||||
repositories {
|
repositories {
|
||||||
myMavenLocal()
|
myMavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||||
|
mavenContent { snapshotsOnly() }
|
||||||
|
}
|
||||||
jitpack()
|
jitpack()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
|
|
||||||
|
|
@ -28,6 +31,8 @@ dependencyResolutionManagement {
|
||||||
metadataSources { artifact() }
|
metadataSources { artifact() }
|
||||||
content { includeModule("com.yarnpkg", "yarn") }
|
content { includeModule("com.yarnpkg", "yarn") }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
maven("https://raw.githubusercontent.com/adamko-dev/kotka-streams/artifacts/m2")
|
||||||
}
|
}
|
||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
|
|
@ -47,7 +52,7 @@ fun RepositoryHandler.jitpack() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fun RepositoryHandler.myMavenLocal(enabled: Boolean = true) {
|
fun RepositoryHandler.myMavenLocal(enabled: Boolean = false) {
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
logger.lifecycle("Maven local is enabled")
|
logger.lifecycle("Maven local is enabled")
|
||||||
mavenLocal {
|
mavenLocal {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
val projectKotlinTarget = "1.6"
|
val projectKotlinTarget = "1.7"
|
||||||
val projectJvmTarget = "11"
|
val projectJvmTarget = "11"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -54,10 +54,17 @@ tasks.compileTestKotlin {
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvmToolchain {
|
jvmToolchain {
|
||||||
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(projectJvmTarget))
|
languageVersion.set(JavaLanguageVersion.of(projectJvmTarget))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Test>().configureEach {
|
tasks.withType<Test>().configureEach {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
plugins.withType<ApplicationPlugin>().configureEach {
|
||||||
|
project.extensions.getByType<JavaApplication>().apply {
|
||||||
|
applicationDefaultJvmArgs += listOf("-Dkotlinx.coroutines.debug")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
## compilation ##
|
## compilation ##
|
||||||
jvm = "11"
|
jvm = "11"
|
||||||
kotlin = "1.6.21"
|
kotlin = "1.7.0"
|
||||||
|
|
||||||
## libs ##
|
## libs ##
|
||||||
camel-kafkaConnectors = "0.11.0"
|
camel-kafkaConnectors = "0.11.0"
|
||||||
http4k = "4.25.16.2"
|
http4k = "4.25.16.2"
|
||||||
kafka = "3.2.0"
|
kafka = "3.2.0"
|
||||||
kvision = "5.10.0"
|
kvision = "5.10.1"
|
||||||
log4j2 = "2.17.2"
|
log4j2 = "2.17.2"
|
||||||
qosLogback = "1.2.11"
|
qosLogback = "1.2.11"
|
||||||
slf4j = "1.7.36"
|
slf4j = "1.7.36"
|
||||||
|
|
@ -21,7 +21,8 @@ scrimage = "4.0.31"
|
||||||
semver = "1.2.0"
|
semver = "1.2.0"
|
||||||
|
|
||||||
kotlinx-serialization = "1.3.3"
|
kotlinx-serialization = "1.3.3"
|
||||||
kxs-yaml = "0.44.0"
|
kxs-charleskornKaml = "0.44.0"
|
||||||
|
kxs-mamoeYamlkt = "0.12.0"
|
||||||
|
|
||||||
kotlinJsWrappers = "1.0.0-pre.339"
|
kotlinJsWrappers = "1.0.0-pre.339"
|
||||||
kotlinx-html = "0.7.5"
|
kotlinx-html = "0.7.5"
|
||||||
|
|
@ -30,9 +31,11 @@ kotlinx-coroutines = "1.6.1"
|
||||||
kotlinx-cli = "0.3.4"
|
kotlinx-cli = "0.3.4"
|
||||||
kotlinx-datetime = "0.3.3"
|
kotlinx-datetime = "0.3.3"
|
||||||
|
|
||||||
ktor = "2.0.1"
|
ktor = "2.0.2"
|
||||||
|
|
||||||
kotkaStreams = "v22.05.25"
|
hoplite = "2.1.5"
|
||||||
|
|
||||||
|
kotkaStreams = "dev-SNAPSHOT"
|
||||||
|
|
||||||
## test ##
|
## test ##
|
||||||
junit = "5.8.2"
|
junit = "5.8.2"
|
||||||
|
|
@ -68,14 +71,25 @@ loggingCapabilities = { id = "dev.jacomet.logging-capabilities", vers
|
||||||
## kotlin ##
|
## kotlin ##
|
||||||
kotlin-bom = { group = "org.jetbrains.kotlin", name = "kotlin-bom", version.ref = "kotlin" }
|
kotlin-bom = { group = "org.jetbrains.kotlin", name = "kotlin-bom", version.ref = "kotlin" }
|
||||||
|
|
||||||
|
|
||||||
|
kotlinScripting-common = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-common" }
|
||||||
|
kotlinScripting-jvm = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-jvm" }
|
||||||
|
kotlinScripting-jvmHost = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-jvm-host" }
|
||||||
|
kotlinScripting-dependencies = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-dependencies" }
|
||||||
|
kotlinScripting-dependenciesMaven = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-dependencies-maven" }
|
||||||
|
|
||||||
|
|
||||||
kotlinx-serialization-bom = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-bom", version.ref = "kotlinx-serialization" }
|
kotlinx-serialization-bom = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-bom", version.ref = "kotlinx-serialization" }
|
||||||
kotlinx-serialization-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core" }
|
kotlinx-serialization-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core" }
|
||||||
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json" }
|
|
||||||
kotlinx-serialization-protobuf = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-protobuf" }
|
|
||||||
kotlinx-serialization-cbor = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-cbor" }
|
kotlinx-serialization-cbor = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-cbor" }
|
||||||
|
kotlinx-serialization-hocon = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-hocon" }
|
||||||
|
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json" }
|
||||||
kotlinx-serialization-properties = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-properties" }
|
kotlinx-serialization-properties = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-properties" }
|
||||||
|
kotlinx-serialization-protobuf = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-protobuf" }
|
||||||
|
|
||||||
|
kxs-charleskornKaml = { group = "com.charleskorn.kaml", name = "kaml", version.ref = "kxs-charleskornKaml" }
|
||||||
|
kxs-mamoeYamlkt = { group = "net.mamoe.yamlkt", name = "yamlkt", version.ref = "kxs-mamoeYamlkt" }
|
||||||
|
|
||||||
kotlinx-serialization-yaml = { group = "com.charleskorn.kaml", name = "kaml", version.ref = "kxs-yaml" }
|
|
||||||
|
|
||||||
kotlinx-coroutines-bom = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-bom", version.ref = "kotlinx-coroutines" }
|
kotlinx-coroutines-bom = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-bom", version.ref = "kotlinx-coroutines" }
|
||||||
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core" }
|
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core" }
|
||||||
|
|
@ -169,7 +183,8 @@ kafka-streamsTestUtils = { group = "org.apache.kafka", name = "kafka-streams-tes
|
||||||
# kafka helpers
|
# kafka helpers
|
||||||
#kotka = { group = "com.github.blueanvil", name = "kotka", version = "1.1.1" }
|
#kotka = { group = "com.github.blueanvil", name = "kotka", version = "1.1.1" }
|
||||||
|
|
||||||
kafka-kotkaStreams = { group = "com.github.adamko-dev.kotka-streams", name = "kotka-streams", version.ref = "kotkaStreams" }
|
#kafka-kotkaStreams = { group = "com.github.adamko-dev.kotka-streams", name = "kotka-streams", version.ref = "kotkaStreams" }
|
||||||
|
kafka-kotkaStreams = { group = "dev.adamko.kotka", name = "kotka-streams", version.ref = "kotkaStreams" }
|
||||||
|
|
||||||
|
|
||||||
rocksdb = { group = "io.maryk.rocksdb", name = "rocksdb-multiplatform", version = "7.0.3" }
|
rocksdb = { group = "io.maryk.rocksdb", name = "rocksdb-multiplatform", version = "7.0.3" }
|
||||||
|
|
@ -186,6 +201,10 @@ okio-bom = { group = "com.squareup.okio", name = "okio-bom", version.ref = "oki
|
||||||
okio-core = { group = "com.squareup.okio", name = "okio" }
|
okio-core = { group = "com.squareup.okio", name = "okio" }
|
||||||
|
|
||||||
|
|
||||||
|
hoplite-core = { group = "com.sksamuel.hoplite", name = "hoplite-core", version.ref = "hoplite" }
|
||||||
|
hoplite-datetime = { group = "com.sksamuel.hoplite", name = "hoplite-datetime", version.ref = "hoplite" }
|
||||||
|
hoplite-yaml = { group = "com.sksamuel.hoplite", name = "hoplite-yaml", version.ref = "hoplite" }
|
||||||
|
|
||||||
#############
|
#############
|
||||||
### test ###
|
### test ###
|
||||||
#############
|
#############
|
||||||
|
|
@ -256,3 +275,22 @@ http4k-test = [
|
||||||
"http4k-test-approval",
|
"http4k-test-approval",
|
||||||
"http4k-test-kotest",
|
"http4k-test-kotest",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
kotlinScripting-def = [
|
||||||
|
"kotlinScripting-common",
|
||||||
|
"kotlinScripting-jvm",
|
||||||
|
"kotlinScripting-dependencies",
|
||||||
|
"kotlinScripting-dependenciesMaven",
|
||||||
|
]
|
||||||
|
|
||||||
|
kotlinScripting-host = [
|
||||||
|
"kotlinScripting-common",
|
||||||
|
"kotlinScripting-jvm",
|
||||||
|
"kotlinScripting-jvmHost",
|
||||||
|
]
|
||||||
|
|
||||||
|
hoplite = [
|
||||||
|
"hoplite-core",
|
||||||
|
"hoplite-yaml",
|
||||||
|
"hoplite-datetime",
|
||||||
|
]
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,7 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "~14.19.1"
|
"node": "~14.19.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {},
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lua-types": "^2.11.0",
|
"lua-types": "^2.11.0",
|
||||||
"typescript-to-lua": "1.4.4",
|
"typescript-to-lua": "1.4.4",
|
||||||
|
|
@ -18,10 +17,7 @@
|
||||||
"typescript": "4.6.2"
|
"typescript": "4.6.2"
|
||||||
},
|
},
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"peerDependencies": {
|
"peerDependencies": {},
|
||||||
},
|
"optionalDependencies": {},
|
||||||
"optionalDependencies": {
|
"bundledDependencies": []
|
||||||
},
|
|
||||||
"bundledDependencies": [
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,10 +63,7 @@ kotlin {
|
||||||
implementation(project.dependencies.platform(libs.kotlinx.serialization.bom))
|
implementation(project.dependencies.platform(libs.kotlinx.serialization.bom))
|
||||||
implementation(libs.kotlinx.serialization.core)
|
implementation(libs.kotlinx.serialization.core)
|
||||||
implementation(libs.kotlinx.serialization.json)
|
implementation(libs.kotlinx.serialization.json)
|
||||||
api("dev.adamko.kxtsgen:kxs-ts-gen-core:dev-SNAPSHOT")
|
api("dev.adamko.kxstsgen:kxs-ts-gen-core:0.1.3")
|
||||||
// implementation("com.github.adamko-dev:kotlinx-serialization-typescript-generator:dev-SNAPSHOT") {
|
|
||||||
// isChanging = true
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ dependencies {
|
||||||
isChanging = true
|
isChanging = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
implementation(libs.bundles.hoplite)
|
||||||
}
|
}
|
||||||
|
|
||||||
//configurations.all {
|
//configurations.all {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ tasks.dockerEnv {
|
||||||
"GRAFANA_VERSION" to libs.versions.grafana,
|
"GRAFANA_VERSION" to libs.versions.grafana,
|
||||||
"PROMETHEUS_VERSION" to libs.versions.prometheus,
|
"PROMETHEUS_VERSION" to libs.versions.prometheus,
|
||||||
"KAFKA_VERSION" to libs.versions.kafka,
|
"KAFKA_VERSION" to libs.versions.kafka,
|
||||||
|
"KAFKA_DL_URL" to libs.versions.kafka.map { ver ->
|
||||||
|
"https://dlcdn.apache.org/kafka/$ver/kafka_2.13-$ver.tgz"
|
||||||
|
}
|
||||||
|
|
||||||
// Limit JVM Heap Size
|
// Limit JVM Heap Size
|
||||||
// "KAFKA_BROKER_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
// "KAFKA_BROKER_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
COMPOSE_PROJECT_NAME=kafkatorio
|
COMPOSE_PROJECT_NAME=kafkatorio
|
||||||
GRAFANA_VERSION=8.5.0
|
GRAFANA_VERSION=8.5.0
|
||||||
KAFKATORIO_VERSION=0.5.1
|
KAFKATORIO_VERSION=0.5.1
|
||||||
KAFKA_VERSION=3.1.0
|
KAFKA_DL_URL=https\://dlcdn.apache.org/kafka/3.2.0/kafka_2.13-3.2.0.tgz
|
||||||
|
KAFKA_VERSION=3.2.0
|
||||||
PROMETHEUS_VERSION=v2.34.0
|
PROMETHEUS_VERSION=v2.34.0
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ version: "3.9"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
kafka:
|
kafka:
|
||||||
image: dev-adamko/kafka-kraft
|
image: dev-adamko/kafka-kraft:${KAFKA_VERSION}
|
||||||
container_name: "kafka"
|
container_name: "kafka"
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
build:
|
build:
|
||||||
|
|
@ -11,18 +11,19 @@ services:
|
||||||
context: "."
|
context: "."
|
||||||
target: "kafka-kraft"
|
target: "kafka-kraft"
|
||||||
args:
|
args:
|
||||||
KAFKA_DL_URL: "https://dlcdn.apache.org/kafka/3.1.0/kafka_2.13-3.1.0.tgz"
|
KAFKA_DL_URL: "https://dlcdn.apache.org/kafka/${KAFKA_VERSION}/kafka_2.13-${KAFKA_VERSION}.tgz"
|
||||||
volumes:
|
volumes:
|
||||||
- "./kafka-server.properties:/kafka/server.properties"
|
- "./kafka-server.properties:/kafka/server.properties"
|
||||||
environment:
|
environment:
|
||||||
JMX_PORT: "9991"
|
JMX_PORT: "9991"
|
||||||
# KAFKA_JMX_OPTS: "9991"
|
# KAFKA_JMX_OPTS: "9991"
|
||||||
KAFKA_JMX_OPTS: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka -Dcom.sun.management.jmxremote.rmi.port=9991"
|
KAFKA_JMX_OPTS: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka -Dcom.sun.management.jmxremote.rmi.port=9991"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- "kafka-nw"
|
- "kafka-nw"
|
||||||
- "kafkatorio-nw"
|
- "kafkatorio-nw"
|
||||||
ports:
|
ports:
|
||||||
|
# note: other Docker containers should use 29092
|
||||||
- "9092:9092"
|
- "9092:9092"
|
||||||
- "9093:9093"
|
- "9093:9093"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@ dependencies {
|
||||||
|
|
||||||
constraints {
|
constraints {
|
||||||
api(libs.skrapeit)
|
api(libs.skrapeit)
|
||||||
api(libs.kotlinx.serialization.yaml)
|
api(libs.kxs.charleskornKaml)
|
||||||
|
api(libs.kxs.mamoeYamlkt)
|
||||||
api(libs.kafka.kotkaStreams)
|
api(libs.kafka.kotkaStreams)
|
||||||
api(libs.kafka.streams)
|
api(libs.kafka.streams)
|
||||||
api(libs.okio.core)
|
api(libs.okio.core)
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,10 @@ dependencyResolutionManagement {
|
||||||
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
||||||
|
|
||||||
// repositories {
|
// repositories {
|
||||||
// mavenLocal {
|
// maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||||
// content {
|
//// content {
|
||||||
// includeGroup("io.kvision")
|
//// includeGroup("dev.adamko.kxstsgen")
|
||||||
// includeGroup("dev.adamko.kotka")
|
//// }
|
||||||
// }
|
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue