| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-kapt'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'androidx.navigation.safeargs.kotlin'
- android {
- compileSdkVersion build_versions.target_sdk
- buildToolsVersion build_versions.build_tools
- defaultConfig {
- applicationId "com.hanwha.morakmorak"
- versionCode 1
- versionName "1.0"
- vectorDrawables.useSupportLibrary = true
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- minSdkVersion build_versions.min_sdk
- targetSdkVersion build_versions.target_sdk
- }
- dataBinding {
- enabled = true
- }
- kapt {
- generateStubs = true
- }
- packagingOptions {
- exclude 'LICENSE.txt'
- exclude 'LICENSE'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/NOTICE.txt'
- exclude 'META-INF/rxjava.properties'
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- lintOptions {
- abortOnError false
- disable 'GoogleAppIndexingWarning'
- }
- testOptions {
- unitTests.returnDefaultValues = true
- }
- buildTypes {
- debug {
- buildConfigField("String", "BASE_URL", "\"https://unicorn.dpteam.net\"")
- }
- release {
- buildConfigField("String", "BASE_URL", "\"https://api.github.com\"")
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- // sourceSets {
- // main {
- // res.srcDirs = ['src/main/res', 'src/main/res/drawable-hdpi', 'src/main/res/drawable-mdpi', 'src/main/res/drawable-xxhdpi']
- // }
- // }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- // Support Libraries
- implementation deps.support.app_compat
- implementation deps.support.v4
- implementation deps.support.design
- implementation deps.support.recyclerview
- implementation deps.constraint_layout
- // Architecture components
- implementation deps.lifecycle.runtime
- implementation deps.lifecycle.extensions
- implementation deps.room.runtime
- implementation deps.room.rxjava2
- implementation deps.paging_ktx
- // Compiler
- implementation 'androidx.appcompat:appcompat:1.0.2'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- kapt deps.lifecycle.compiler
- kapt deps.room.compiler
- // RxJava
- implementation deps.rx_android
- implementation deps.rxjava2
- // Kotlin
- implementation deps.kotlin.stdlib
- // Koin
- implementation deps.koin.core
- implementation deps.koin.android
- implementation deps.koin.viewmodel
- implementation deps.koin.architecture
- // Retrofit
- implementation deps.retrofit.runtime
- implementation deps.retrofit.rx_adapter
- implementation deps.retrofit.gson
- // OkHttp
- implementation deps.okhttp_logging_interceptor
- // Timber
- implementation deps.timber
- // PullToRefresh
- implementation deps.phoenix
- // Spalsh loading progress
- implementation deps.fillable_loader
- implementation 'com.wang.avi:library:2.1.3'
- // Navigation
- implementation deps.navigation.fragment
- implementation deps.navigation.ui
- // Glide
- implementation deps.glide.glide
- kapt deps.glide.compiler
- // JWT
- api deps.jwt.api
- runtimeOnly deps.jwt.impl
- runtimeOnly(deps.jwt.orgjson) {
- exclude group: 'org.json', module: 'json' //provided by Android natively
- }
- // Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
- //runtimeOnly 'org.bouncycastle:bcprov-jdk15on:1.60'
- // Dependencies for local unit tests
- testImplementation deps.junit
- testImplementation deps.mockito.all
- testImplementation deps.hamcrest
- testImplementation deps.kotlin.stdlib
- testImplementation deps.kotlin.test
- testImplementation deps.koin.test, { exclude group: 'org.mockito' }
- // Android Testing Support Library's runner and rules
- androidTestImplementation deps.axt.runner
- androidTestImplementation deps.axt.rules
- // Dependencies for Android unit tests
- androidTestImplementation deps.junit
- androidTestImplementation deps.mockito.core, { exclude group: 'net.bytebuddy' }
- // Espresso UI Testing
- androidTestImplementation deps.espresso.core
- androidTestImplementation deps.espresso.contrib
- androidTestImplementation deps.espresso.intents
- // Resolve conflicts between main and test APK:
- androidTestImplementation deps.support.annotations
- androidTestImplementation deps.support.v4
- androidTestImplementation deps.support.app_compat
- androidTestImplementation deps.support.design
- }
|