Skip to content
Snippets Groups Projects
Commit 7d2f6ca3 authored by Taras's avatar Taras
Browse files

Remove gradle properties

parent b37b27eb
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,6 @@ apply plugin: 'androidx.navigation.safeargs.kotlin' ...@@ -5,7 +5,6 @@ apply plugin: 'androidx.navigation.safeargs.kotlin'
apply plugin: 'kotlin-kapt' apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin' apply plugin: 'dagger.hilt.android.plugin'
def splitApks = !project.hasProperty("noSplits")
android { android {
compileSdk rootProject.ext.sdk_version compileSdk rootProject.ext.sdk_version
...@@ -20,26 +19,18 @@ android { ...@@ -20,26 +19,18 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
if (project.hasProperty("noSplits")) {
ndk {
(project.properties["ABI_FILTERS"] as String).split(';').each {
abiFilters.add(it)
}
}
}
} }
if (splitApks) { splits {
splits { abi {
abi { enable true
enable true reset()
reset() include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a" universalApk false
universalApk false
}
} }
} }
buildFeatures { buildFeatures {
viewBinding true viewBinding true
buildConfig true buildConfig true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment