Permalink
Browse files

Gradle script improvements #1009

  • Loading branch information...
devemux86 committed Oct 30, 2017
1 parent f42243b commit 69c16aaf404e637f3b3bfbcc9653140a365b57ac
Showing with 6 additions and 4 deletions.
  1. +3 −2 build.gradle
  2. +1 −1 mapsforge-map-android-extras/build.gradle
  3. +2 −1 mapsforge-samples-android/build.gradle
View
@@ -19,6 +19,7 @@ allprojects {
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
ext.androidBuildVersionTools = "27.0.0"
ext.jUnitVersion = "4.12"
ext.supportVersion = "27.0.0"
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
@@ -127,8 +128,8 @@ configure(filterProjects(project.androidlibraryprojects)) {
if (name == "debug")
return
def task = project.tasks.create "jar${name.capitalize()}", Jar
task.dependsOn variant.javaCompile
task.from variant.javaCompile.destinationDir
task.dependsOn variant.javaCompiler
task.from variant.javaCompiler.destinationDir
artifacts.add('archives', task)
}
@@ -1,4 +1,4 @@
dependencies {
api project(":mapsforge-map-android")
compileOnly 'com.android.support:support-v4:27.0.0'
compileOnly "com.android.support:support-compat:$supportVersion"
}
@@ -4,7 +4,8 @@ dependencies {
implementation project(":mapsforge-map-android-extras")
implementation project(":mapsforge-themes")
implementation project(":mapsforge-poi-android")
implementation 'com.android.support:support-v4:27.0.0'
implementation "com.android.support:support-compat:$supportVersion"
implementation "com.android.support:support-fragment:$supportVersion"
androidTestImplementation 'com.jayway.android.robotium:robotium-solo:5.6.3'
}

0 comments on commit 69c16aa

Please sign in to comment.