https://hal.archives-ouvertes.fr/hal-04614660
build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 33
defaultConfig {
applicationId "fr.limsi.padmeapp"
minSdkVersion 23
targetSdkVersion 31
versionCode 77
versionName "2023.06.23v77"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
flavorDimensions "conditions"
productFlavors {
control {
dimension "conditions"
versionNameSuffix "-C"
//applicationId "fr.limsi.padmeapp.control"
}
adapted {
dimension "conditions"
versionNameSuffix "-A"
//applicationId "fr.limsi.padmeapp.adapted"
}
}
applicationVariants.all { variant ->
variant.resValue "string", "versionName", variant.versionName
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
buildFeatures {
viewBinding true
}
namespace 'fr.limsi.padmeapp'
}
dependencies {
implementation "androidx.lifecycle:lifecycle-viewmodel:2.5.1"
implementation "androidx.lifecycle:lifecycle-livedata:2.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1"
implementation "androidx.lifecycle:lifecycle-common-java8:2.5.1"
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'com.google.android.gms:play-services-fitness:21.1.0'
implementation 'com.google.android.gms:play-services-auth:20.4.1'
implementation 'com.google.android.gms:play-services-base:18.2.0'
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.work:work-runtime:2.8.0'
implementation 'androidx.annotation:annotation:1.4.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation "androidx.recyclerview:recyclerview:1.3.0"
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.android.volley:volley:1.2.1'
implementation 'com.github.santalu:maskara:1.0.0'
implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.2'
}