mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 13:22:02 +03:00
53 lines
1.4 KiB
Groovy
53 lines
1.4 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenLocal()
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal()
|
|
jcenter()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
}
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
ext {
|
|
buildToolsVersion = "27.0.3"
|
|
minSdkVersion = 19
|
|
compileSdkVersion = 26
|
|
targetSdkVersion = 26
|
|
supportLibVersion = "26.1.0"
|
|
}
|
|
|
|
subprojects { subproject ->
|
|
afterEvaluate {
|
|
if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
|
android {
|
|
variantFilter { variant ->
|
|
def names = variant.flavors*.name
|
|
if (names.contains("reactNative51") || names.contains("reactNative55")) {
|
|
setIgnore(true)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |