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 {
|
||||
myMavenLocal()
|
||||
mavenCentral()
|
||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||
mavenContent { snapshotsOnly() }
|
||||
}
|
||||
jitpack()
|
||||
gradlePluginPortal()
|
||||
|
||||
|
|
@ -28,6 +31,8 @@ dependencyResolutionManagement {
|
|||
metadataSources { artifact() }
|
||||
content { includeModule("com.yarnpkg", "yarn") }
|
||||
}
|
||||
|
||||
maven("https://raw.githubusercontent.com/adamko-dev/kotka-streams/artifacts/m2")
|
||||
}
|
||||
|
||||
pluginManagement {
|
||||
|
|
@ -47,7 +52,7 @@ fun RepositoryHandler.jitpack() {
|
|||
}
|
||||
|
||||
|
||||
fun RepositoryHandler.myMavenLocal(enabled: Boolean = true) {
|
||||
fun RepositoryHandler.myMavenLocal(enabled: Boolean = false) {
|
||||
if (enabled) {
|
||||
logger.lifecycle("Maven local is enabled")
|
||||
mavenLocal {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
kotlin("jvm")
|
||||
}
|
||||
|
||||
val projectKotlinTarget = "1.6"
|
||||
val projectKotlinTarget = "1.7"
|
||||
val projectJvmTarget = "11"
|
||||
|
||||
|
||||
|
|
@ -54,10 +54,17 @@ tasks.compileTestKotlin {
|
|||
|
||||
kotlin {
|
||||
jvmToolchain {
|
||||
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(projectJvmTarget))
|
||||
languageVersion.set(JavaLanguageVersion.of(projectJvmTarget))
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
|
||||
plugins.withType<ApplicationPlugin>().configureEach {
|
||||
project.extensions.getByType<JavaApplication>().apply {
|
||||
applicationDefaultJvmArgs += listOf("-Dkotlinx.coroutines.debug")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue