Upgrade to Kotlin 1.9.20, Nebula release 18.0.3
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
[versions]
|
[versions]
|
||||||
kotlinApi = "1.9"
|
kotlinApi = "1.9"
|
||||||
kotlinLanguage = "1.9"
|
kotlinLanguage = "1.9"
|
||||||
kotlin = "1.9.10"
|
kotlin = "1.9.20"
|
||||||
jvmTarget = "11"
|
jvmTarget = "11"
|
||||||
openrndr = { require = "[0.4.2, 0.5.0)" }
|
openrndr = { require = "[0.4.2, 0.5.0)" }
|
||||||
kotlinxCoroutines = "1.7.3"
|
kotlinxCoroutines = "1.7.3"
|
||||||
kotlinLogging = "3.0.0"
|
kotlinLogging = "3.0.0"
|
||||||
kotlinxSerialization = "1.6.0"
|
kotlinxSerialization = "1.6.0"
|
||||||
dokka = "1.7.10"
|
dokka = "1.7.10"
|
||||||
nebulaRelease = "17.2.2"
|
nebulaRelease = "18.0.3"
|
||||||
gradleNexusPublish = "2.0.0-rc-1"
|
gradleNexusPublish = "2.0.0-rc-1"
|
||||||
spek = "2.0.19"
|
spek = "2.0.19"
|
||||||
boofcv = "1.0.0"
|
boofcv = "1.0.0"
|
||||||
|
|||||||
@@ -12,14 +12,12 @@ val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
|
|||||||
|
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
kotlin.sourceSets.getByName("commonMain").kotlin.srcDir(embedShaders.outputDir)
|
||||||
sourceSets {
|
sourceSets {
|
||||||
val shaderKotlin by creating {
|
@Suppress("UNUSED_VARIABLE")
|
||||||
this.kotlin.srcDir(embedShaders.outputDir)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
implementation(project(":orx-parameters"))
|
implementation(project(":orx-parameters"))
|
||||||
implementation(project(":orx-shader-phrases"))
|
implementation(project(":orx-shader-phrases"))
|
||||||
implementation(project(":orx-color"))
|
implementation(project(":orx-color"))
|
||||||
@@ -27,9 +25,7 @@ kotlin {
|
|||||||
implementation(libs.openrndr.draw)
|
implementation(libs.openrndr.draw)
|
||||||
implementation(libs.openrndr.filter)
|
implementation(libs.openrndr.filter)
|
||||||
implementation(libs.kotlin.reflect)
|
implementation(libs.kotlin.reflect)
|
||||||
api(shaderKotlin.kotlin)
|
|
||||||
}
|
}
|
||||||
dependsOn(shaderKotlin)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
|
|||||||
@@ -11,11 +11,8 @@ val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
|
|||||||
}.get()
|
}.get()
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
kotlin.sourceSets.getByName("commonMain").kotlin.srcDir(embedShaders.outputDir)
|
||||||
sourceSets {
|
sourceSets {
|
||||||
val shaderKotlin by creating {
|
|
||||||
this.kotlin.srcDir(embedShaders.outputDir)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -25,9 +22,7 @@ kotlin {
|
|||||||
implementation(libs.openrndr.draw)
|
implementation(libs.openrndr.draw)
|
||||||
implementation(libs.openrndr.filter)
|
implementation(libs.openrndr.filter)
|
||||||
implementation(libs.kotlin.reflect)
|
implementation(libs.kotlin.reflect)
|
||||||
api(shaderKotlin.kotlin)
|
|
||||||
}
|
}
|
||||||
dependsOn(shaderKotlin)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
|
|||||||
@@ -19,11 +19,8 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin.sourceSets.getByName("commonMain").kotlin.srcDir(embedShaders.outputDir)
|
||||||
sourceSets {
|
sourceSets {
|
||||||
val shaderKotlin by creating {
|
|
||||||
this.kotlin.srcDir(embedShaders.outputDir)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -33,12 +30,9 @@ kotlin {
|
|||||||
implementation(project(":orx-hash-grid"))
|
implementation(project(":orx-hash-grid"))
|
||||||
implementation(project(":orx-parameters"))
|
implementation(project(":orx-parameters"))
|
||||||
implementation(project(":orx-shader-phrases"))
|
implementation(project(":orx-shader-phrases"))
|
||||||
api(shaderKotlin.kotlin)
|
|
||||||
}
|
}
|
||||||
dependsOn(shaderKotlin)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val jvmTest by getting {
|
val jvmTest by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -16,23 +16,17 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
kotlin.sourceSets.getByName("commonMain").kotlin.srcDir(embedShaders.outputDir)
|
||||||
sourceSets {
|
sourceSets {
|
||||||
val shaderKotlin by creating {
|
|
||||||
this.kotlin.srcDir(embedShaders.outputDir)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(libs.openrndr.application)
|
implementation(libs.openrndr.application)
|
||||||
implementation(libs.openrndr.draw)
|
implementation(libs.openrndr.draw)
|
||||||
implementation(libs.kotlin.reflect)
|
implementation(libs.kotlin.reflect)
|
||||||
api(shaderKotlin.kotlin)
|
|
||||||
}
|
}
|
||||||
dependsOn(shaderKotlin)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Suppress("UNUSED_VARIABLE")
|
@Suppress("UNUSED_VARIABLE")
|
||||||
val jvmTest by getting {
|
val jvmTest by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user