Skip to content

Commit

Permalink
chore: upgrade to kotlin 1.9
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <[email protected]>
  • Loading branch information
sandeepnRES committed Apr 23, 2024
1 parent 430bde1 commit 50c2e89
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions weaver/common/protos-java-kt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
buildscript {
ext.coroutines_version = "1.3.7"
ext.protobuf_version = "3.11.1"
ext.grpc_version = "1.29.0" // CURRENT_GRPC_VERSION
ext.grpc_kotlin_version = "0.1.4" // CURRENT_GRPC_KOTLIN_VERSION
ext.kotlin_version = "1.3.72"
ext.coroutines_version = "1.8.0"
ext.protobuf_version = "4.26.1"
ext.grpc_version = "1.63.0" // CURRENT_GRPC_VERSION
ext.grpc_kotlin_version = "1.4.1" // CURRENT_GRPC_KOTLIN_VERSION
ext.kotlin_version = "1.9.23"

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Expand All @@ -23,17 +23,16 @@ repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo1.maven.org/maven2' }
maven { url 'https://download.corda.net/maven/corda-dependencies/' }
maven { url 'https://jitpack.io' }
}

apply plugin: 'kotlin'

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
languageVersion = "1.3"
apiVersion = "1.3"
jvmTarget = "1.8"
languageVersion = "1.9"
apiVersion = "1.9"
jvmTarget = "17"
javaParameters = true // Useful for reflection.
}
}
Expand All @@ -55,8 +54,8 @@ sourceSets {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compileOnly "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"

implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
implementation "io.grpc:grpc-kotlin-stub:$grpc_kotlin_version"
Expand Down

0 comments on commit 50c2e89

Please sign in to comment.