aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-25 00:23:44 -0500
committerGitHub <noreply@github.com>2018-01-25 00:23:44 -0500
commit8bfbbac2b8f364bb03866712b113cd2f5de8b9d9 (patch)
tree8001dd1e467ddd22e4dcec84a9c9e3aa36d2bbb8 /app/build.gradle
parent6fe7bd43581d5dfbb85e4e0deb524e65d07b5ce6 (diff)
downloadfrost-8bfbbac2b8f364bb03866712b113cd2f5de8b9d9.tar.gz
frost-8bfbbac2b8f364bb03866712b113cd2f5de8b9d9.tar.bz2
frost-8bfbbac2b8f364bb03866712b113cd2f5de8b9d9.zip
Enhancement/video (#669)v1.8.0
* Test stricter video extractor * Mess around with mutations * Revert back to strict click listener * Update theme * Update dependencies * Update theme * Create pip toggle * Add pip disabler * Update theme * Update theme
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle35
1 files changed, 15 insertions, 20 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 9bd6c298..08556f9e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -25,8 +25,8 @@ if (withPlaySigning)
}
android {
- compileSdkVersion Integer.parseInt(project.TARGET_SDK)
- buildToolsVersion project.BUILD_TOOLS
+ compileSdkVersion kau.targetSdk
+ buildToolsVersion kau.buildTools
androidGitVersion {
codeFormat = 'MMNNPPXX'
@@ -36,8 +36,8 @@ android {
defaultConfig {
applicationId "${project.APP_GROUP}." + project.APP_ID.toLowerCase(Locale.CANADA)
- minSdkVersion Integer.parseInt(project.MIN_SDK)
- targetSdkVersion Integer.parseInt(project.TARGET_SDK)
+ minSdkVersion kau.minSdk
+ targetSdkVersion kau.targetSdk
versionCode androidGitVersion.code()
versionName androidGitVersion.name()
multiDexEnabled true
@@ -50,11 +50,6 @@ android {
}
}
- compileOptions {
- targetCompatibility 1.8
- sourceCompatibility 1.8
- }
-
lintOptions {
warningsAsErrors true
disable 'TrustAllX509TrustManager',
@@ -139,17 +134,17 @@ repositories {
}
dependencies {
- androidTestImplementation("com.android.support.test:runner:${TEST_RUNNER}") {
+ androidTestImplementation("com.android.support.test:runner:${kau.testRunner}") {
exclude group: 'com.android.support', module: 'support-annotations'
}
- implementation "com.android.support:exifinterface:${ANDROID_SUPPORT_LIBS}"
+ implementation "com.android.support:exifinterface:${kau.supportLibs}"
- androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}"
+ androidTestImplementation kauDependency.kotlinTest
androidTestImplementation "com.android.support.test:rules:${TEST_RULE}"
- testImplementation "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}"
+ testImplementation kauDependency.kotlinTest
testImplementation "org.jetbrains.kotlin:kotlin-reflect:${KOTLIN}"
- testImplementation "junit:junit:${JUNIT}"
+ testImplementation kauDependency.junit
implementation "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN}"
@@ -174,10 +169,10 @@ dependencies {
implementation "com.devbrackets.android:exomedia:${EXOMEDIA}"
- implementation"com.mikepenz:fastadapter-extensions:${FAST_ADAPTER_EXTENSIONS}@aar"
+ implementation"com.mikepenz:fastadapter-extensions:${kau.fastAdapter}@aar"
- implementation "com.github.bumptech.glide:okhttp3-integration:${GLIDE}"
- kapt "com.github.bumptech.glide:compiler:${GLIDE}"
+ implementation "com.github.bumptech.glide:okhttp3-integration:${kau.glide}"
+ kapt "com.github.bumptech.glide:compiler:${kau.glide}"
implementation "com.fasterxml.jackson.core:jackson-databind:2.9.3"
@@ -195,8 +190,8 @@ dependencies {
implementation "com.github.Raizlabs.DBFlow:dbflow-kotlinextensions:${DBFLOW}"
//Icons
- implementation "com.mikepenz:material-design-iconic-typeface:${IICON_MATERIAL}@aar"
- implementation "com.mikepenz:community-material-typeface:${IICON_COMMUNITY}@aar"
+ implementation "com.mikepenz:material-design-iconic-typeface:${kau.iconicsMaterial}@aar"
+ implementation "com.mikepenz:community-material-typeface:${kau.iconicsCommunity}@aar"
implementation "org.jsoup:jsoup:${JSOUP}"
@@ -212,7 +207,7 @@ dependencies {
kapt "nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}"
implementation("com.crashlytics.sdk.android:crashlytics:${CRASHLYTICS}@aar") {
- transitive = true;
+ transitive = true
}
implementation "com.davemorrissey.labs:subsampling-scale-image-view:${SCALE_IMAGE_VIEW}"