apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == "androidx") { if (!requested.name.startsWith("multidex")) { details.useVersion "${targetSdk}.+" } } } } android { compileSdkVersion 29 buildToolsVersion "29.0.2" compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } defaultConfig { applicationId "fr.forum_thalie.tsumugi" minSdkVersion 16 targetSdkVersion 29 versionCode 2 versionName "1.1dev" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) /* implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.core:core-ktx:1.1.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.navigation:navigation-fragment-ktx:2.1.0' implementation 'androidx.navigation:navigation-ui-ktx:2.1.0' implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' */ implementation "androidx.media:media:1.1.0" implementation 'com.google.android.exoplayer:exoplayer:2.11.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.preference:preference:1.1.0' // jsoup HTML parser library @ https://jsoup.org/ // implementation 'org.jsoup:jsoup:1.12.1' // RSS parser library @ https://github.com/prof18/RSS-Parser implementation 'com.prof.rssparser:rssparser:2.0.4' // new implems implementation deps.kotlin.stdlib implementation deps.support.app_compat implementation deps.support.design implementation deps.support.core_ktx implementation deps.constraint_layout implementation deps.arch_core.runtime // Navigation implementation deps.navigation.runtime_ktx implementation deps.navigation.fragment_ktx implementation deps.navigation.ui_ktx // Android Testing Support Library's runner and rules /* androidTestImplementation deps.atsl.runner androidTestImplementation deps.atsl.rules androidTestImplementation deps.room.testing androidTestImplementation deps.arch_core.testing */ // Espresso UI Testing androidTestImplementation deps.espresso.core androidTestImplementation deps.espresso.contrib androidTestImplementation deps.espresso.intents }