mirror of
https://github.com/status-im/react-native.git
synced 2025-01-17 21:11:45 +00:00
0a3055d98a
Summary: Change HelloWorld app template to use project-wide properties. See https://developer.android.com/studio/build/gradle-tips#configure-project-wide-properties. RN community and third-party native module developers adopted this, so it'll make RN package development and usage easy. CI is green https://circleci.com/gh/dulmandakh/react-native/507 Closes https://github.com/facebook/react-native/pull/19845 Differential Revision: D8675341 Pulled By: hramos fbshipit-source-id: 4ed06cd7ef7ae70f153d7f335ef8a9d1371f6ce0
41 lines
985 B
Groovy
41 lines
985 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
maven {
|
|
url 'https://maven.google.com/'
|
|
name 'Google'
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:2.3.3'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
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://maven.google.com/'
|
|
name 'Google'
|
|
}
|
|
}
|
|
}
|
|
|
|
ext {
|
|
buildToolsVersion = "26.0.3"
|
|
minSdkVersion = 16
|
|
compileSdkVersion = 26
|
|
targetSdkVersion = 26
|
|
supportLibVersion = "26.1.0"
|
|
}
|