Migrate to KSP

This commit is contained in:
2024-02-26 19:50:57 +01:00
parent e089cb7e7b
commit ba869c9978
2 changed files with 8 additions and 8 deletions

View File

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

View File

@@ -1,6 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' 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
}