Skip to content

Commit

Permalink
build.gradle style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
equeim committed Jun 11, 2018
1 parent 4b517eb commit e22500e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ android {
main.java.srcDirs += '../libtremotesf/jni/java'
main.jniLibs.srcDirs 'libs'
}

lintOptions {
checkReleaseBuilds false
}

flavorDimensions("freedom")
productFlavors {
google {
Expand All @@ -42,7 +40,6 @@ android {
buildConfigField "boolean", "DONATIONS_GOOGLE", "false"
}
}

splits {
abi {
enable true
Expand All @@ -51,9 +48,8 @@ android {
universalApk true
}
}

applicationVariants.all { variant ->
def abiCodes = ["armeabi-v7a":1, "x86":2]
def abiCodes = ["armeabi-v7a": 1, "x86": 2]
variant.outputs.each { output ->
def baseAbiVersionCode = abiCodes.get(output.getFilter(OutputFile.ABI))
if (baseAbiVersionCode != null) {
Expand All @@ -71,7 +67,7 @@ repositories {
def support_version = '27.1.1'

dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
implementation fileTree(include: '*.jar', dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.android.support:support-compat:$support_version"
implementation "com.android.support:support-core-utils:$support_version"
Expand Down

0 comments on commit e22500e

Please sign in to comment.