aboutsummaryrefslogtreecommitdiff
path: root/android/build.gradle
diff options
context:
space:
mode:
authorLeon Jiang <leon.jiangy@gmail.com>2020-06-24 00:23:26 -0700
committerLeon Jiang <leon.jiangy@gmail.com>2020-06-24 00:23:26 -0700
commita642f52d519543d9ece4bb525e99ebc281fa6887 (patch)
tree6da0fa559714a95535e445ed9bffbdb37c70d0c6 /android/build.gradle
parent1bcb2049f80bfdbf23dc45fe6b7e3a66608b6ba7 (diff)
initial commit, add react-native/typescript boilerplate
Diffstat (limited to 'android/build.gradle')
-rw-r--r--android/build.gradle38
1 files changed, 38 insertions, 0 deletions
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 00000000..5d5d188b
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,38 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ ext {
+ buildToolsVersion = "28.0.3"
+ minSdkVersion = 16
+ compileSdkVersion = 28
+ targetSdkVersion = 28
+ }
+ repositories {
+ google()
+ jcenter()
+ }
+ dependencies {
+ classpath("com.android.tools.build:gradle:3.5.2")
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ mavenLocal()
+ maven {
+ // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
+ url("$rootDir/../node_modules/react-native/android")
+ }
+ maven {
+ // Android JSC is installed from npm
+ url("$rootDir/../node_modules/jsc-android/dist")
+ }
+
+ google()
+ jcenter()
+ maven { url 'https://www.jitpack.io' }
+ }
+}