From c228699a2fa161f3477d852965e7216b7291325c Mon Sep 17 00:00:00 2001 From: Henry Addo Date: Thu, 4 Jan 2018 17:26:10 +0100 Subject: [PATCH] Remove build tools version The latest Android Gradle plugin now set its default build tools version so explicitly setting is not necessary. --- example/build.gradle | 1 - examplesync/build.gradle | 1 - gradle.properties | 2 -- usbserial/build.gradle | 5 ++--- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/example/build.gradle b/example/build.gradle index b8a8b32..a19d12b 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -3,7 +3,6 @@ apply plugin: 'com.android.application' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) - buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION defaultConfig { applicationId "com.felhr.serialportexample" diff --git a/examplesync/build.gradle b/examplesync/build.gradle index f811d36..33d2c7c 100644 --- a/examplesync/build.gradle +++ b/examplesync/build.gradle @@ -3,7 +3,6 @@ apply plugin: 'com.android.application' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) - buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION defaultConfig { applicationId "com.felhr.serialportexamplesync" diff --git a/gradle.properties b/gradle.properties index 7837fbb..51250a6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,5 @@ VERSION_NAME=1.0 VERSION_CODE=1 - ANDROID_BUILD_MIN_SDK_VERSION=12 ANDROID_BUILD_TARGET_SDK_VERSION=23 ANDROID_BUILD_SDK_VERSION=23 -ANDROID_BUILD_TOOLS_VERSION=23.0.2 \ No newline at end of file diff --git a/usbserial/build.gradle b/usbserial/build.gradle index f246363..29a0b55 100644 --- a/usbserial/build.gradle +++ b/usbserial/build.gradle @@ -6,7 +6,6 @@ android { version = '1.0.0' compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) - buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION compileOptions { encoding "UTF-8" @@ -20,12 +19,12 @@ android { } //noinspection GroovyAssignabilityCheck - task deleteJar(type: org.gradle.api.tasks.Delete){ + task deleteJar(type: org.gradle.api.tasks.Delete) { delete 'eclipse_lib/usbserial.jar' } //noinspection GroovyAssignabilityCheck - task createJar(type: org.gradle.api.tasks.Copy){ + task createJar(type: org.gradle.api.tasks.Copy) { from('build/intermediates/bundles/release/') into('eclipse_lib/') include('classes.jar')