You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.3 KiB
67 lines
2.3 KiB
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'fr.uca.iut.clfreville2.teaiswarm'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "fr.uca.iut.clfreville2.teaiswarm"
|
|
minSdk 21
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
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'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def nav_version = "2.5.3"
|
|
def paging_version = "3.1.1"
|
|
def fragment_version = "1.5.6"
|
|
def preference_version = "1.2.0"
|
|
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
implementation 'com.squareup.moshi:moshi:1.14.0'
|
|
implementation 'com.squareup.moshi:moshi-kotlin:1.14.0'
|
|
implementation 'com.squareup.moshi:moshi-adapters:1.14.0'
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
implementation "androidx.paging:paging-runtime:$paging_version"
|
|
implementation "androidx.fragment:fragment-ktx:$fragment_version"
|
|
implementation "androidx.preference:preference-ktx:$preference_version"
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
implementation 'io.coil-kt:coil:2.3.0'
|
|
|
|
//implementation 'androidx.core:core-ktx:+'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |