| | |
| | | //apply plugin: 'com.novoda.bintray-release' |
| | | |
| | | android { |
| | | buildToolsVersion '28.0.3' |
| | | compileSdkVersion 28 |
| | | buildToolsVersion '30.0.2' |
| | | compileSdkVersion 30 |
| | | defaultConfig { |
| | | minSdkVersion 17 |
| | | targetSdkVersion 28 |
| | | versionCode 1 |
| | | versionName "1.0.1" |
| | | targetSdkVersion 30 |
| | | versionCode 8 |
| | | versionName "1.2.5" |
| | | |
| | | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| | | ndk { |
| | | moduleName "serial_port" |
| | | abiFilters "armeabi-v7a","x86" |
| | | abiFilters "armeabi-v7a", "x86", "arm64-v8a" |
| | | } |
| | | } |
| | | buildTypes { |
| | |
| | | */ |
| | | android.libraryVariants.all { variant -> |
| | | variant.outputs.all { |
| | | outputFileName = "HDL_TTLSDK485_V" + |
| | | outputFileName = "HDL_BusSDK485_V" + |
| | | defaultConfig.versionName + ".B" + defaultConfig.versionCode + "." + releaseTime() + ".aar" |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | dependencies { |
| | | implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') |
| | | implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') |
| | | implementation 'com.android.support:appcompat-v7:28.0.0' |
| | | api 'org.greenrobot:eventbus:3.0.0' |
| | | // api 'com.google.code.gson:gson:2.8.5' |
| | | api 'com.google.code.gson:gson:2.8.8' |
| | | api 'com.licheedev:android-serialport:2.1.3' |
| | | // testImplementation 'junit:junit:4.12' |
| | | // androidTestImplementation 'com.android.support.test:runner:1.0.2' |
| | | // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' |
| | |
| | | // rename ('classes.jar','test.jar') |
| | | //} |
| | | //makeJar.dependsOn(build) |
| | | |
| | | |
| | | |
| | | |
| | | //publish { |