Skip to content

Commit

Permalink
Update to KSP 1.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Jun 6, 2024
1 parent 49a951e commit b8cd5f0
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "2.0.0-1.0.21"
id("com.google.devtools.ksp") version "2.0.0-1.0.22"
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.0"
id("de.jensklingenberg.ktorfit") version "2.0.0"
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions example/AndroidOnlyExample/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pluginManagement {
repositories {
gradlePluginPortal()
google()
// mavenLocal()
mavenLocal()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
Expand All @@ -13,7 +13,7 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
// mavenLocal()
mavenLocal()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
Expand Down
10 changes: 9 additions & 1 deletion example/MultiplatformExample/androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@ android {
isMinifyEnabled = false
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget= "1.8"
}
}

dependencies {
implementation(project(":shared"))
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.appcompat:appcompat:1.7.0")
}
2 changes: 1 addition & 1 deletion example/MultiplatformExample/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
repositories {
//mavenLocal()
mavenLocal()
google()
gradlePluginPortal()
mavenCentral()
Expand Down
7 changes: 6 additions & 1 deletion example/MultiplatformExample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
kotlin("multiplatform")
kotlin("native.cocoapods")
id("com.android.library")
id("com.google.devtools.ksp") version "2.0.0-1.0.21"
id("com.google.devtools.ksp") version "2.0.0-1.0.22"
id("kotlinx-serialization")
id("de.jensklingenberg.ktorfit") version "2.0.0"
}
Expand Down Expand Up @@ -78,6 +78,11 @@ android {
minSdk = 21
targetSdk = 34
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

}


Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ junit = "4.13.2"
kctfork = "0.4.1"
kotlin = "2.0.0"
kotlinPoet = "1.17.0"
kspVersion = "2.0.0-1.0.21"
kspVersion = "2.0.0-1.0.22"

ktorfit = "2.0.0"
ktorfitKsp = "2.0.0-1.0.21"
ktorfitKsp = "2.0.0-1.0.22"
ktorfitCompiler = "2.0.0-2.0.0"
ktorfitCallConverter = "2.0.0"
ktorfitFlowConverter = "2.0.0"
ktorfitResponseConverter = "2.0.0"
ktorfitGradle = "2.0.0"

ktorfitGradlePlugin = "1.14.0"
ktorfitGradlePlugin = "2.0.0"
ktorVersion = "2.3.11"
mockk = "1.13.11"
mockito-kotlin = "4.1.0"
Expand Down

0 comments on commit b8cd5f0

Please sign in to comment.