kopia lustrzana https://github.com/mik3y/usb-serial-for-android
added proguard rules
now they are part of the .aar library, before you had to add them to each release apppull/240/head
rodzic
24187b3af6
commit
fd2055791a
|
@ -7,19 +7,14 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 17
|
minSdkVersion 17
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
|
consumerProguardFiles 'proguard-rules.pro'
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
testInstrumentationRunnerArguments = [ // Raspi Windows LinuxVM ...
|
testInstrumentationRunnerArguments = [ // Raspi Windows LinuxVM ...
|
||||||
'rfc2217_server_host': '192.168.0.100',
|
'rfc2217_server_host': '192.168.0.100',
|
||||||
'rfc2217_server_nonstandard_baudrates': 'true', // true false false
|
'rfc2217_server_nonstandard_baudrates': 'true', // true false false
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
|
||||||
release {
|
|
||||||
minifyEnabled false
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
-keep class com.hoho.android.usbserial.driver.* { *; }
|
|
@ -5,7 +5,7 @@ publishing {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
groupId 'com.github.mik3y'
|
groupId 'com.github.mik3y'
|
||||||
artifactId 'usb-serial-for-android'
|
artifactId 'usb-serial-for-android'
|
||||||
version '1.x.0'
|
version '2.1.0a'
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
artifact androidSourcesJar
|
artifact androidSourcesJar
|
||||||
artifact bundleReleaseAar
|
artifact bundleReleaseAar
|
||||||
|
|
Ładowanie…
Reference in New Issue