|
|
@ -1,6 +1,7 @@ |
|
|
|
plugins { |
|
|
|
plugins { |
|
|
|
id "com.android.application" |
|
|
|
id "com.android.application" |
|
|
|
id 'org.jetbrains.kotlin.android' |
|
|
|
id 'org.jetbrains.kotlin.android' |
|
|
|
|
|
|
|
id 'com.google.devtools.ksp' |
|
|
|
id 'kotlin-parcelize' |
|
|
|
id 'kotlin-parcelize' |
|
|
|
id 'kotlin-kapt' |
|
|
|
id 'kotlin-kapt' |
|
|
|
id "de.timfreiheit.resourceplaceholders" |
|
|
|
id "de.timfreiheit.resourceplaceholders" |
|
|
@ -57,6 +58,9 @@ android { |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
ksp { |
|
|
|
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
buildFeatures { |
|
|
|
buildFeatures { |
|
|
|
viewBinding true |
|
|
|
viewBinding true |
|
|
@ -129,12 +133,6 @@ resourcePlaceholders { |
|
|
|
files = ['xml/shortcuts.xml'] |
|
|
|
files = ['xml/shortcuts.xml'] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
kapt { |
|
|
|
|
|
|
|
arguments { |
|
|
|
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
//noinspection GradleDependency |
|
|
|
//noinspection GradleDependency |
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') |
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') |
|
|
@ -204,8 +202,7 @@ dependencies { |
|
|
|
//room |
|
|
|
//room |
|
|
|
implementation("androidx.room:room-runtime:$room_version") |
|
|
|
implementation("androidx.room:room-runtime:$room_version") |
|
|
|
implementation("androidx.room:room-ktx:$room_version") |
|
|
|
implementation("androidx.room:room-ktx:$room_version") |
|
|
|
kapt("androidx.room:room-compiler:$room_version") |
|
|
|
ksp("androidx.room:room-compiler:$room_version") |
|
|
|
//ksp("androidx.room:room-compiler:$room_version") |
|
|
|
|
|
|
|
testImplementation("androidx.room:room-testing:$room_version") |
|
|
|
testImplementation("androidx.room:room-testing:$room_version") |
|
|
|
|
|
|
|
|
|
|
|
//liveEventBus |
|
|
|
//liveEventBus |
|
|
|