diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4520950e8..fd4a34efc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -142,7 +142,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/build.gradle.kts b/build.gradle.kts index e3d3f0324..e937bef3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ plugins { alias(libs.plugins.library) apply false alias(libs.plugins.test) apply false alias(libs.plugins.kotlin) apply false + alias(libs.plugins.kotlin.ksp) apply false alias(libs.plugins.firebase.appdistribution) apply false alias(libs.plugins.firebase.crashlytics) apply false alias(libs.plugins.google.services) apply false diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index ade02f098..fbd0d65d7 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -33,7 +33,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/core/domain/build.gradle.kts b/core/domain/build.gradle.kts index 3560fd3f6..30d9fb35f 100644 --- a/core/domain/build.gradle.kts +++ b/core/domain/build.gradle.kts @@ -1,6 +1,7 @@ plugins { id("movies-android-library") id("movies-android-hilt") + id("com.google.devtools.ksp") } android { @@ -45,5 +46,5 @@ dependencies { api(libs.androidx.hilt.work) kapt(libs.androidx.hilt.compiler) api(libs.androidx.work.runtime.ktx) - kapt(libs.androidx.room.compiler) + ksp(libs.androidx.room.compiler) } \ No newline at end of file diff --git a/core/ui/build.gradle.kts b/core/ui/build.gradle.kts index 12558c740..cf2031a55 100644 --- a/core/ui/build.gradle.kts +++ b/core/ui/build.gradle.kts @@ -24,7 +24,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/details-impl/build.gradle.kts b/feature/details-impl/build.gradle.kts index c1563391f..b20423987 100644 --- a/feature/details-impl/build.gradle.kts +++ b/feature/details-impl/build.gradle.kts @@ -33,7 +33,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/details/build.gradle.kts b/feature/details/build.gradle.kts index 19a5e0aca..4ba87df58 100644 --- a/feature/details/build.gradle.kts +++ b/feature/details/build.gradle.kts @@ -24,7 +24,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/feed-impl/build.gradle.kts b/feature/feed-impl/build.gradle.kts index 945ca6671..67796b7c4 100644 --- a/feature/feed-impl/build.gradle.kts +++ b/feature/feed-impl/build.gradle.kts @@ -33,7 +33,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/feed/build.gradle.kts b/feature/feed/build.gradle.kts index 45dc161b6..a641d7fdc 100644 --- a/feature/feed/build.gradle.kts +++ b/feature/feed/build.gradle.kts @@ -24,7 +24,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/settings-impl/build.gradle.kts b/feature/settings-impl/build.gradle.kts index ba50e383e..fba431793 100644 --- a/feature/settings-impl/build.gradle.kts +++ b/feature/settings-impl/build.gradle.kts @@ -34,7 +34,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/feature/settings/build.gradle.kts b/feature/settings/build.gradle.kts index 25d9c7214..bcda9937d 100644 --- a/feature/settings/build.gradle.kts +++ b/feature/settings/build.gradle.kts @@ -24,7 +24,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = libs.versions.kotlin.compiler.extension.get() + kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get() } lint { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 673e95c34..7a4762185 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,13 +8,14 @@ compile-sdk = "33" # @keep target-sdk = "33" # @pin -gradle = "7.4.1" +gradle = "7.4.2" # @pin update when updating compose compiler -kotlin = "1.8.0" +kotlin = "1.8.10" +kotlin-ksp = "1.8.10-1.0.9" kotlin-coroutines = "1.6.4" kotlin-serialization = "1.4.1" # @pin update when updating kotlin -kotlin-compiler-extension = "1.4.0" +compose-compiler = "1.4.3" detekt = "1.22.0" spotless = "6.15.0" google-services = "4.3.15" @@ -191,6 +192,7 @@ room = [ [plugins] kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } +kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "kotlin-ksp" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } google-services = { id = "com.google.gms.google-services", version.ref = "google-services" } firebase-appdistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebase-appdistribution" } diff --git a/readme.md b/readme.md index e12c7ad99..20dc49f25 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,7 @@ TMDB_API_KEY=your_own_tmdb_api_key - [x] [Clean Architecture](https://d.android.com/topic/architecture) - [x] [TMDB API](https://developers.themoviedb.org/3/getting-started) - [x] KTS Gradle Files -- [x] Gradle Plugin 7.4.1 +- [x] Gradle Plugin 7.4.2 - [x] Gradle Version Catalog - [x] MinSDK 21 - [x] TargetSDK 33 @@ -41,8 +41,9 @@ TMDB_API_KEY=your_own_tmdb_api_key - [x] Dark Theme - [x] Dynamic Colors - [x] [Themed App Icon](https://d.android.com/develop/ui/views/launch/icon_design_adaptive) -- [x] 100% Kotlin 1.8.0 -- [x] 100% Jetpack Compose 1.3.1, No XML +- [x] 100% Kotlin 1.8.10 +- [x] 100% Jetpack Compose 1.4.3 +- [x] Kotlin Symbol Processing API 1.8.10-1.0.9 - [x] [Accompanist](https://github.com/google/accompanist) 0.28.0 - [x] [Compose PreviewParameterProvider](https://d.android.com/jetpack/compose/tooling#previewparameter) - [x] [Downloadable Fonts](https://d.android.com/develop/ui/views/text-and-emoji/downloadable-fonts) @@ -57,7 +58,7 @@ TMDB_API_KEY=your_own_tmdb_api_key - [x] [DataStore](https://d.android.com/datastore) 1.0.0 - [x] [Startup](https://d.android.com/jetpack/androidx/releases/startup) 1.1.1 - [x] [Navigation](https://d.android.com/guide/navigation) 2.5.3 -- [x] [Paging](https://d.android.com/topic/libraries/architecture/paging/v3-overview) (RemoteMediator & PagingSource) +- [x] [Paging](https://d.android.com/topic/libraries/architecture/paging/v3-overview) (RemoteMediator & PagingSource) 1.0.0-alpha18 - [x] [ConstraintLayout](https://d.android.com/develop/ui/views/layout/constraint-layout) - [x] [OkHttp](https://github.com/square/okhttp) 4.10.0 - [x] [Retrofit](https://github.com/square/retrofit) 2.9.0