forked from mapsforge/vtm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (38 loc) · 1.1 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
}
}
allprojects {
group = 'org.mapsforge'
version = '0.6.0-SNAPSHOT'
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
ext.androidBuildVersionTools = "23.0.3"
ext.gdxVersion = "1.9.3"
// Disable Java 8 doclint
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
logging.captureStandardError LogLevel.INFO
}
}
}
def androidCompileSdk() { return 23 }
def androidMinSdk() { return 10 }
def androidTargetSdk() { return 22 }
def versionCode() { return 50 }
def versionName() { return version }
subprojects {
repositories {
maven { url 'https://repo.boundlessgeo.com/main' }
jcenter()
}
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
}