2020-07-01 17:08:28 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2020-08-17 13:49:51 +00:00
|
|
|
apply plugin: "androidx.navigation.safeargs"
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-09-07 17:08:28 +00:00
|
|
|
applicationId 'me.austinhuang.instagrabbr'
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-09-21 12:02:18 +00:00
|
|
|
minSdkVersion 21
|
2020-07-01 17:08:28 +00:00
|
|
|
targetSdkVersion 29
|
|
|
|
|
2020-09-20 03:34:09 +00:00
|
|
|
versionCode 51
|
|
|
|
versionName '19.0-a2'
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
multiDexEnabled true
|
|
|
|
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
vectorDrawables.generatedDensities = []
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2020-10-17 10:07:03 +00:00
|
|
|
// Flag to enable support for the new language APIs
|
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
|
2020-07-01 17:08:28 +00:00
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
buildFeatures { viewBinding true }
|
|
|
|
|
|
|
|
aaptOptions { additionalParameters '--no-version-vectors' }
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-24 09:10:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
|
|
|
}
|
|
|
|
|
2020-07-01 17:08:28 +00:00
|
|
|
dependencies {
|
2020-10-17 10:07:03 +00:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
|
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
def appcompat_version = "1.2.0"
|
2020-11-01 06:02:54 +00:00
|
|
|
def nav_version = '2.3.1'
|
2020-08-29 08:01:42 +00:00
|
|
|
|
2020-10-17 10:07:03 +00:00
|
|
|
implementation 'com.google.android.material:material:1.3.0-alpha03'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.12.0'
|
2020-09-12 06:35:10 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
|
|
|
implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
|
2020-10-17 10:07:03 +00:00
|
|
|
implementation "androidx.recyclerview:recyclerview:1.2.0-alpha06"
|
2020-08-29 08:01:42 +00:00
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
|
|
implementation "androidx.viewpager2:viewpager2:1.0.0"
|
2020-08-17 13:49:51 +00:00
|
|
|
implementation "androidx.navigation:navigation-fragment:$nav_version"
|
|
|
|
implementation "androidx.navigation:navigation-ui:$nav_version"
|
2020-11-01 06:02:54 +00:00
|
|
|
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
|
2020-10-17 10:07:03 +00:00
|
|
|
implementation "androidx.preference:preference:1.1.1"
|
|
|
|
implementation "androidx.work:work-runtime:2.4.0"
|
2020-11-01 06:02:54 +00:00
|
|
|
implementation 'androidx.palette:palette:1.0.0'
|
2020-10-17 10:07:03 +00:00
|
|
|
|
|
|
|
implementation 'com.google.guava:guava:27.0.1-android'
|
2020-08-30 06:47:04 +00:00
|
|
|
|
2020-09-21 12:08:14 +00:00
|
|
|
// implementation 'com.github.hendrawd:StorageUtil:1.1.0'
|
2020-10-24 09:10:21 +00:00
|
|
|
// implementation 'com.github.armcha:AutoLinkTextViewV2:2.1.1'
|
|
|
|
implementation 'com.github.ammargitham:AutoLinkTextViewV2:master-SNAPSHOT'
|
2020-08-17 13:49:51 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
implementation 'org.jsoup:jsoup:1.13.1'
|
|
|
|
implementation 'com.facebook.fresco:fresco:2.3.0'
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
2020-08-30 06:47:04 +00:00
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
2020-09-11 16:56:15 +00:00
|
|
|
|
2020-10-17 10:07:03 +00:00
|
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5'
|
|
|
|
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
|
2020-07-01 17:08:28 +00:00
|
|
|
}
|