Gradle 4 and Android plugin 3, fix #433

This commit is contained in:
Emux
2017-10-27 11:54:45 +03:00
parent df5bcd583f
commit cbdeb58c2f
27 changed files with 228 additions and 236 deletions

View File

@@ -1,10 +1,11 @@
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
}
}
@@ -13,7 +14,7 @@ allprojects {
version = 'master-SNAPSHOT'
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
ext.androidBuildVersionTools = "26.0.2"
ext.androidBuildVersionTools = "27.0.0"
ext.gdxVersion = "1.9.6"
ext.gwtVersion = "2.8.0"
ext.slf4jVersion = "1.7.25"
@@ -27,22 +28,22 @@ allprojects {
}
}
def androidCompileSdk() { return 26 }
static def androidCompileSdk() { return 27 }
// Minimum API Level by Support Library
def androidMinSdk() { return 14 }
static def androidMinSdk() { return 14 }
def androidTargetSdk() { return 22 }
static def androidTargetSdk() { return 22 }
def versionCode() { return 50 }
static def versionCode() { return 1 }
def versionName() { return version }
subprojects {
repositories {
google()
maven { url 'https://repo.boundlessgeo.com/main' }
jcenter()
maven { url 'https://maven.google.com' }
}
tasks.withType(JavaCompile) {