Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 21, 2024
1 parent 21fc31e commit 81f255a
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions buildSrc/src/main/kotlin/JVMTarget.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ fun Project.configureJVMTarget() {
plugins.withId("org.jetbrains.kotlin.multiplatform") {
the<KotlinMultiplatformExtension>().targets.withType<KotlinJvmTarget> {
compilations.all {
compilerOptions.configure {
jvmTarget = JvmTarget.JVM_1_8
compileTaskProvider.configure {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions buildSrc/src/main/kotlin/code-generator.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ kotlin {
explicitApi()
target.compilations {
create("generationSource") {
compilerOptions.configure {
freeCompilerArgs.add("-Xjvm-default=all")
// TODO: Suppress warnings once KT-8087 hits
compileTaskProvider.configure {
compilerOptions {
freeCompilerArgs.add("-Xjvm-default=all")
// TODO: Suppress warnings once KT-8087 hits
}
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
kotlin = "2.0.0-Beta1"
kotlinpoet = "1.15.0"
ksp = "2.0.0-Beta1-1.0.14"
kotlin = "2.0.0"
kotlinpoet = "1.17.0"
ksp = "2.0.0-1.0.22"

# The compiled binary of codegen.kt we use to compile codegen.kt itself
codegen-kt = "main-SNAPSHOT"
Expand All @@ -15,14 +15,14 @@ codegen-kotlinpoet = { group = "dev.kord.codegen", name = "kotlinpoet", version
codegen-ksp = { group = "dev.kord.codegen", name = "ksp", version = "main-20230912.211940-5" }
codegen-ksp-processor = { group = "dev.kord.codegen", name = "ksp-processor", version = "main-20230912.211940-7" }

mockk = { group = "io.mockk", name = "mockk", version = "1.13.8" }
mockk = { group = "io.mockk", name = "mockk", version = "1.13.11" }

kotlin-plugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlin" }
ksp-plugin = { group = "com.google.devtools.ksp", name = "symbol-processing-gradle-plugin", version.ref = "ksp" }
dokka-plugin = { group = "org.jetbrains.dokka", name = "dokka-gradle-plugin", version = "1.9.10" }
maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.25.3" }
dokka-plugin = { group = "org.jetbrains.dokka", name = "dokka-gradle-plugin", version = "1.9.20" }
maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.28.0" }

binary-compatibility-validator-plugin = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version = "0.13.2" }
binary-compatibility-validator-plugin = { module = "org.jetbrains.kotlinx:binary-compatibility-validator", version = "0.15.0-Beta.2" }

[bundles]
pluginsForBuildSrc = ["kotlin-plugin", "ksp-plugin", "dokka-plugin", "maven-publish-plugin", "binary-compatibility-validator-plugin"]

0 comments on commit 81f255a

Please sign in to comment.