| | |
| | | defaultConfig { |
| | | minSdkVersion 17 |
| | | targetSdkVersion 28 |
| | | versionCode 1 |
| | | versionName "1.0.1" |
| | | versionCode 2 |
| | | versionName "1.1.0" |
| | | |
| | | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| | | ndk { |
| | | moduleName "serial_port" |
| | | abiFilters "armeabi-v7a","x86" |
| | | abiFilters "armeabi-v7a", "x86", "arm64-v8a" |
| | | } |
| | | } |
| | | buildTypes { |
| | |
| | | } |
| | | |
| | | 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 { |