kopia lustrzana https://github.com/felHR85/UsbSerial
Remove build tools version
The latest Android Gradle plugin now set its default build tools version so explicitly setting is not necessary.pull/139/head
rodzic
b78dad5120
commit
c228699a2f
|
@ -3,7 +3,6 @@ apply plugin: 'com.android.application'
|
||||||
android {
|
android {
|
||||||
|
|
||||||
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||||||
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.felhr.serialportexample"
|
applicationId "com.felhr.serialportexample"
|
||||||
|
|
|
@ -3,7 +3,6 @@ apply plugin: 'com.android.application'
|
||||||
android {
|
android {
|
||||||
|
|
||||||
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||||||
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.felhr.serialportexamplesync"
|
applicationId "com.felhr.serialportexamplesync"
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
VERSION_NAME=1.0
|
VERSION_NAME=1.0
|
||||||
VERSION_CODE=1
|
VERSION_CODE=1
|
||||||
|
|
||||||
ANDROID_BUILD_MIN_SDK_VERSION=12
|
ANDROID_BUILD_MIN_SDK_VERSION=12
|
||||||
ANDROID_BUILD_TARGET_SDK_VERSION=23
|
ANDROID_BUILD_TARGET_SDK_VERSION=23
|
||||||
ANDROID_BUILD_SDK_VERSION=23
|
ANDROID_BUILD_SDK_VERSION=23
|
||||||
ANDROID_BUILD_TOOLS_VERSION=23.0.2
|
|
|
@ -6,7 +6,6 @@ android {
|
||||||
version = '1.0.0'
|
version = '1.0.0'
|
||||||
|
|
||||||
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||||||
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
encoding "UTF-8"
|
encoding "UTF-8"
|
||||||
|
@ -20,12 +19,12 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
//noinspection GroovyAssignabilityCheck
|
//noinspection GroovyAssignabilityCheck
|
||||||
task deleteJar(type: org.gradle.api.tasks.Delete){
|
task deleteJar(type: org.gradle.api.tasks.Delete) {
|
||||||
delete 'eclipse_lib/usbserial.jar'
|
delete 'eclipse_lib/usbserial.jar'
|
||||||
}
|
}
|
||||||
|
|
||||||
//noinspection GroovyAssignabilityCheck
|
//noinspection GroovyAssignabilityCheck
|
||||||
task createJar(type: org.gradle.api.tasks.Copy){
|
task createJar(type: org.gradle.api.tasks.Copy) {
|
||||||
from('build/intermediates/bundles/release/')
|
from('build/intermediates/bundles/release/')
|
||||||
into('eclipse_lib/')
|
into('eclipse_lib/')
|
||||||
include('classes.jar')
|
include('classes.jar')
|
||||||
|
|
Ładowanie…
Reference in New Issue