123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- 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.1'
- implementation project(':exoplayer-library') // uses local ExoPlayer clone, from dev-v2 branch (fixes ISO-8859-1 ICY metadata
-
- 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
-
- }
|