1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-07 21:37:02 +09:00

DROID-2629 App | Tech | Migrate project to Kotlin Symbol Processing (KSP) (#1346)

This commit is contained in:
Evgenii Kozlov 2024-07-03 11:32:49 +02:00 committed by GitHub
parent c85393e743
commit 2d0ae34338
Signed by: github
GPG key ID: B5690EEEBB952194
11 changed files with 15 additions and 14 deletions

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id 'com.google.devtools.ksp'
}
android {

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "kotlin-kapt"
id 'com.google.devtools.ksp'
alias(libs.plugins.compose.compiler)
id "com.google.firebase.appdistribution"
}
@ -163,8 +163,8 @@ dependencies {
implementation project(':gallery-experience')
//Compile time dependencies
kapt libs.daggerCompiler
kapt libs.glideCompiler
ksp libs.daggerCompiler
ksp libs.glideCompiler
compileOnly libs.javaxAnnotation
compileOnly libs.javaxInject

View file

@ -46,6 +46,7 @@ plugins {
alias(libs.plugins.dokka) apply false
alias(libs.plugins.firebaseDistribution) apply false
alias(libs.plugins.gms) apply false
alias(libs.plugins.ksp) apply false
}
def testDebugAll = tasks.create("testDebugAll")

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
}
android {
@ -18,7 +18,7 @@ android {
dependencies {
kapt libs.daggerCompiler
ksp libs.daggerCompiler
implementation libs.appcompat

View file

@ -20,7 +20,6 @@ android.enableJetifier=false
kotlin.code.style=official
kapt.incremental.apt=true
org.gradle.unsafe.configuration-cache=true
android.enableR8.fullMode=false

View file

@ -1,6 +1,7 @@
[versions]
middlewareVersion = "v0.34.3"
kotlinVersion = '2.0.0'
kspVersion = "2.0.0-1.0.22"
androidxCoreVersion = "1.13.1"
@ -181,5 +182,5 @@ dokka = { id = "org.jetbrains.dokka", version.ref = "dokkaVersion" }
kserialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinVersion" }
wire = { id = "com.squareup.wire", version = "4.9.8" }
firebaseDistribution = { id = "com.google.firebase.appdistribution", version = "5.0.0" }
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlinVersion" }
ksp = { id = "com.google.devtools.ksp", version.ref = "kspVersion" }
gms = { id = "com.google.gms.google-services", version = "4.4.2" }

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
}
dependencies {

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
}
dependencies {

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
id "kotlinx-serialization"
id "com.squareup.wire"
}
@ -21,7 +21,7 @@ dependencies {
implementation libs.roomKtx
implementation libs.dataStore
kapt libs.annotations
ksp libs.annotations
implementation libs.timber

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
id "kotlin-parcelize"
}

View file

@ -1,7 +1,7 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "kotlin-kapt"
id "com.google.devtools.ksp"
alias(libs.plugins.compose.compiler)
id 'com.google.gms.google-services'
}