Files
homebox_lens/tasks/20251005_migrate_moshi_to_ksp.xml
busya 8cfad121b2 build: Устранены предупреждения и ошибки сборки Gradle
- Обновлены версии AGP, Kotlin и Compose Compiler для совместимости.
- Версия Java обновлена до 17 во всех модулях.
- Выполнена миграция Moshi с Kapt на KSP.
- Удален устаревший атрибут 'package' из AndroidManifest.xml.
2025-10-05 15:23:21 +03:00

84 lines
2.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<![CDATA[
<work_order>
<title>Миграция Moshi с Kapt на KSP</title>
<description>
Устранить предупреждение "Kapt support in Moshi Kotlin Code Gen is deprecated".
Это требует миграции генерации кода Moshi с `kapt` на `KSP` (Kotlin Symbol Processing).
</description>
<steps>
<step>
<description>Добавить плагин KSP в корневой файл `build.gradle.kts`.</description>
<tool>
<name>apply_diff</name>
<args>
<file>
<path>build.gradle.kts</path>
<diff>
<content>
<![CDATA[
<<<<<<< SEARCH
// [PLUGIN] Hilt Android plugin
id("com.google.dagger.hilt.android") version "2.48.1" apply false
}
=======
// [PLUGIN] Hilt Android plugin
id("com.google.dagger.hilt.android") version "2.48.1" apply false
// [PLUGIN] KSP plugin
id("com.google.devtools.ksp") version "1.9.23-1.0.19" apply false
}
>>>>>>> REPLACE
]]>
</content>
<start_line>9</start_line>
</diff>
</file>
</args>
</tool>
</step>
<step>
<description>Применить плагин KSP и заменить зависимость `kapt` на `ksp` для Moshi в файле `data/build.gradle.kts`.</description>
<tool>
<name>apply_diff</name>
<args>
<file>
<path>data/build.gradle.kts</path>
<diff>
<content>
<![CDATA[
<<<<<<< SEARCH
id("org.jetbrains.kotlin.android")
id("com.google.dagger.hilt.android")
id("kotlin-kapt")
}
=======
id("org.jetbrains.kotlin.android")
id("com.google.dagger.hilt.android")
id("kotlin-kapt")
id("com.google.devtools.ksp")
}
>>>>>>> REPLACE
]]>
</content>
<start_line>6</start_line>
</diff>
<diff>
<content>
<![CDATA[
<<<<<<< SEARCH
implementation(Libs.moshiKotlin)
kapt(Libs.moshiCodegen)
=======
implementation(Libs.moshiKotlin)
ksp(Libs.moshiCodegen)
>>>>>>> REPLACE
]]>
</content>
<start_line>53</start_line>
</diff>
</file>
</args>
</tool>
</step>
</steps>
</work_order>
]]>