1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/ReactNativeClient/android/build.gradle

50 lines
1.2 KiB
Groovy
Raw Normal View History

2017-05-06 16:37:28 +02:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2018-10-02 20:57:31 +02:00
ext {
2019-06-14 08:12:24 +02:00
buildToolsVersion = "28.0.3"
2018-10-02 20:57:31 +02:00
minSdkVersion = 16
2019-06-14 08:12:24 +02:00
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
2018-10-02 20:57:31 +02:00
}
2017-05-06 16:37:28 +02:00
repositories {
jcenter()
2018-10-02 20:57:31 +02:00
google()
2017-05-06 16:37:28 +02:00
}
dependencies {
2019-06-14 08:12:24 +02:00
lasspath("com.android.tools.build:gradle:3.4.0")
2017-05-06 16:37:28 +02:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter() // Was added by me - still needed?
2018-06-10 16:18:07 +02:00
maven {
url "https://maven.google.com"
}
2017-05-06 16:37:28 +02:00
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
}
}
2018-10-02 20:57:31 +02:00
2018-10-02 19:10:37 +02:00
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 26
buildToolsVersion "27.0.3"
}
}
}
}