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:
parent
c85393e743
commit
2d0ae34338
11 changed files with 15 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id "com.android.library"
|
||||
id "kotlin-android"
|
||||
id "kotlin-kapt"
|
||||
id 'com.google.devtools.ksp'
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" }
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id "com.android.library"
|
||||
id "kotlin-android"
|
||||
id "kotlin-kapt"
|
||||
id "com.google.devtools.ksp"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id "com.android.library"
|
||||
id "kotlin-android"
|
||||
id "kotlin-kapt"
|
||||
id "com.google.devtools.ksp"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id "com.android.library"
|
||||
id "kotlin-android"
|
||||
id "kotlin-kapt"
|
||||
id "com.google.devtools.ksp"
|
||||
id "kotlin-parcelize"
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue