plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-kapt' } android { namespace 'fr.iut.ouafff' compileSdk 33 defaultConfig { applicationId "fr.iut.ouafff" minSdk 16 targetSdk 33 versionCode 1 versionName "1.0" // Permet de spécifier le fichier dans lequel stocker le schéma de la BdD kapt { arguments { arg("room.schemaLocation", "$projectDir/schemas".toString()) } } testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } } dependencies { implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:material:1.7.0' implementation "androidx.fragment:fragment-ktx:1.5.5" // implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // implementation 'androidx.recyclerview:recyclerview:1.2.1' // implementation "androidx.cardview:cardview:1.0.0" // Room ORM def room_version = "2.4.3" implementation "androidx.room:room-runtime:$room_version" kapt "androidx.room:room-compiler:$room_version" }