Migrate to KSP

main
Clément FRÉVILLE 1 year ago
parent e089cb7e7b
commit ba869c9978

@ -1,18 +1,17 @@
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'
} }
apply plugin: 'kotlin-kapt'
android { android {
namespace 'fr.uca.iut.clfreville2.teaiswarm' namespace 'fr.uca.iut.clfreville2.teaiswarm'
compileSdk 33 compileSdk 34
defaultConfig { defaultConfig {
applicationId "fr.uca.iut.clfreville2.teaiswarm" applicationId "fr.uca.iut.clfreville2.teaiswarm"
minSdk 21 minSdk 21
targetSdk 33 targetSdk 34
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
@ -65,7 +64,7 @@ dependencies {
implementation "androidx.room:room-ktx:$room_version" implementation "androidx.room:room-ktx:$room_version"
implementation "androidx.room:room-runtime:$room_version" implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version" ksp "androidx.room:room-compiler:$room_version"
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.ext:junit:1.1.5'

@ -1,6 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id 'com.android.application' version '7.3.0' apply false id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.3.0' apply false id 'com.android.library' version '7.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false id 'org.jetbrains.kotlin.android' version '1.9.20' apply false
id 'com.google.devtools.ksp' version '1.9.20-1.0.14' apply false
} }
Loading…
Cancel
Save