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

55 lines
1.4 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 {
classpath("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?
maven { url "https://jitpack.io" }
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"
}
maven {
url "$rootDir/../node_modules/jsc-android/dist"
}
2017-05-06 16:37:28 +02:00
}
}
2018-10-02 20:57:31 +02:00
// TODO: Maybe remove this (forgot why it was needed - probably to make some module work)
2018-10-02 20:57:31 +02:00
2019-06-15 02:23:12 +02:00
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
}
}
}
}
2018-10-02 19:10:37 +02:00