remove kapt and its annotation processor

This commit is contained in:
IndusAryan 2023-11-11 22:51:15 +05:30
parent de61501b22
commit 789de1ca7a

View file

@ -8,7 +8,6 @@ plugins {
id("com.android.application") id("com.android.application")
id("com.google.devtools.ksp") id("com.google.devtools.ksp")
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt")
id("org.jetbrains.dokka") id("org.jetbrains.dokka")
} }
@ -34,12 +33,12 @@ android {
enable = true enable = true
} }
// disable this for now /* disable this for now
//externalNativeBuild { externalNativeBuild {
// cmake { cmake {
// path("CMakeLists.txt") path("CMakeLists.txt")
// } }
//} }*/
signingConfigs { signingConfigs {
create("prerelease") { create("prerelease") {
@ -58,9 +57,8 @@ android {
defaultConfig { defaultConfig {
applicationId = "com.lagradost.cloudstream3" applicationId = "com.lagradost.cloudstream3"
minSdk = 21 minSdk = 21
// https://developer.android.com/about/versions/14/behavior-changes-14#safer-dynamic-code-loading // https://developer.android.com/about/versions/14/behavior-changes-14#safer-dynamic-code-loading
targetSdk = 33 // android 14 is fucked targetSdk = 33 // android 14 is fu*ked
versionCode = 62 versionCode = 62
versionName = "4.2.1" versionName = "4.2.1"
@ -93,10 +91,6 @@ android {
arg("room.schemaLocation", "$projectDir/schemas") arg("room.schemaLocation", "$projectDir/schemas")
arg("exportSchema", "true") arg("exportSchema", "true")
} }
kapt {
includeCompileClasspath = true
}
} }
buildTypes { buildTypes {