40 lines
833 B
Groovy
40 lines
833 B
Groovy
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.oscim'
|
|
version = '0.6.0-SNAPSHOT'
|
|
|
|
ext.androidBuildVersionTools = "23.0.3"
|
|
ext.gdxVersion = "1.9.3"
|
|
}
|
|
|
|
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://github.com/opensciencemap/maven-repo/raw/master/' }
|
|
jcenter()
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
|
targetCompatibility = JavaVersion.VERSION_1_7
|
|
}
|
|
}
|