File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ jobs:
5151
5252 steps :
5353 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
54- - name : Set up JDK 17
54+ - name : Set up JDK 21
5555 uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
5656 with :
57- java-version : 17
57+ java-version : 21
5858 distribution : zulu
5959
6060 - uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
Original file line number Diff line number Diff line change @@ -6,4 +6,14 @@ plugins {
66 alias(libs.plugins.composeMultiplatform) apply false
77 alias(libs.plugins.composeCompiler) apply false
88 alias(libs.plugins.kotlinMultiplatform) apply false
9- }
9+ }
10+
11+ repositories {
12+ google()
13+ // Use Maven Central for resolving dependencies.
14+ mavenCentral()
15+ // Add JetBrains repository for Koog framework
16+ maven {
17+ url = uri(" https://packages.jetbrains.team/maven/p/grazi/grazie-platform-public" )
18+ }
19+ }
Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13plugins {
24 alias(libs.plugins.kotlinMultiplatform)
35 alias(libs.plugins.androidApplication)
@@ -9,6 +11,12 @@ plugins {
911}
1012
1113kotlin {
14+ androidTarget {
15+ compilerOptions {
16+ jvmTarget.set(JvmTarget .JVM_21 )
17+ }
18+ }
19+
1220 sourceSets {
1321 androidMain.dependencies {
1422 implementation(compose.preview)
@@ -74,8 +82,8 @@ android {
7482 }
7583 }
7684 compileOptions {
77- sourceCompatibility = JavaVersion .VERSION_17
78- targetCompatibility = JavaVersion .VERSION_17
85+ sourceCompatibility = JavaVersion .VERSION_21
86+ targetCompatibility = JavaVersion .VERSION_21
7987 }
8088
8189 buildFeatures {
@@ -90,16 +98,6 @@ dependencies {
9098 implementation(libs.opentelemetry.exporter.logging)
9199}
92100
93- repositories {
94- google()
95- // Use Maven Central for resolving dependencies.
96- mavenCentral()
97- // Add JetBrains repository for Koog framework
98- maven {
99- url = uri(" https://packages.jetbrains.team/maven/p/grazi/grazie-platform-public" )
100- }
101- }
102-
103101configurations.all {
104102 // FIXME exclude netty from Koog dependencies?
105103 exclude(group = " io.netty" , module = " *" )
You can’t perform that action at this time.
0 commit comments