Fix #444 - Migrate to KSP2

This commit is contained in:
Julien Papasian 2025-08-02 22:11:09 +02:00
parent 9a3bfa609b
commit e3547f77c4
5 changed files with 14 additions and 14 deletions

View file

@ -7,7 +7,7 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.xml]
[*.{xml,sq,sqm}]
indent_size = 4
# noinspection EditorConfigKeyCorrectness
@ -23,6 +23,9 @@ ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
ktlint_code_style = intellij_idea
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_class-signature = disabled
ktlint_standard_comment-wrapping = disabled
ktlint_standard_discouraged-comment-location = disabled
ktlint_standard_function-expression-body = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_type-argument-comment = disabled
ktlint_standard_type-parameter-comment = disabled

View file

@ -9,7 +9,7 @@ plugins {
id("breezy.android.application")
id("breezy.android.application.compose")
id("com.android.application")
kotlin("kapt")
id("com.google.devtools.ksp")
id("com.google.dagger.hilt.android")
kotlin("plugin.serialization")
id("com.mikepenz.aboutlibraries.plugin")
@ -250,11 +250,6 @@ kotlin {
}
}
// Allow references to generated code
kapt {
correctErrorTypes = true
}
aboutLibraries {
offlineMode = true
@ -317,9 +312,9 @@ dependencies {
// hilt.
implementation(libs.dagger.hilt.core)
kapt(libs.dagger.hilt.compiler)
ksp(libs.dagger.hilt.compiler)
implementation(libs.hilt.work)
kapt(libs.hilt.compiler)
ksp(libs.hilt.compiler)
// HTTP
implementation(libs.bundles.retrofit)

View file

@ -7,6 +7,7 @@ buildscript {
}
plugins {
alias(libs.plugins.kotlinKsp) apply false
alias(libs.plugins.kotlinSerialization) apply false
alias(libs.plugins.aboutLibraries) apply false
alias(libs.plugins.sqldelight) apply false

View file

@ -1,4 +1,4 @@
Breezy Weather je bezplatná open-source aplikace pro předpověď počasí s bohatou nabídkou funkcí a designem Material 3 Expressive. Nabízí propracované vizualizace a podporuje předpověď, aktuální počasí v reálném čase, nowcasting, kvalitu ovzduší, pylové zpravodajství a výstrahy z více než 50 zdrojů, jako jsou AccuWeather, MET Norway, OpenWeather a Open-Meteo.
Breezy Weather je bezplatná open-source aplikace pro předpověď počasí s bohatou nabídkou funkcí a designem Material 3 Expressive. Nabízí propracované vizualizace a podporuje předpověď, aktuální počasí v reálném čase, nowcasting, kvalitu ovzduší, pylové zpravodajství a výstrahy z více než 50 zdrojů, jako jsou Open-Meteo.
<b>Funkce</b>

View file

@ -11,15 +11,16 @@ compose-material3 = "1.5.0-alpha01"
compose-lint-checks = "1.4.2"
core-ktx = "1.16.0"
core-splashscreen = "1.0.1"
dagger = "2.56.2"
dagger = "2.57"
#datastore = "1.1.1"
hilt = "1.2.0"
hilt = "1.3.0-alpha02"
javapoet = "1.13.0"
jjwt = "0.12.6"
json = "20250517"
junit = "5.13.4"
kotest-assertions = "5.9.1"
kotlin = "2.1.10"
kotlin = "2.2.0"
kotlin-ksp = "2.2.0-2.0.2"
kotlinx-coroutines = "1.10.2"
kotlinx-serialization-csv = "2.1.0"
kotlinx-serialization-json = "1.9.0"
@ -132,7 +133,7 @@ work-runtime = { group = "androidx.work", name = "work-runtime", version.ref = "
aboutLibraries = { id = "com.mikepenz.aboutlibraries.plugin", version.ref = "aboutlib" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlinKapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlinKsp = { id = "com.google.devtools.ksp", version.ref = "kotlin-ksp" }
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }