mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-06 23:46:33 +00:00
added proguard rules
now they are part of the .aar library, before you had to add them to each release app
This commit is contained in:
parent
24187b3af6
commit
fd2055791a
@ -7,19 +7,14 @@ android {
|
||||
defaultConfig {
|
||||
minSdkVersion 17
|
||||
targetSdkVersion 28
|
||||
consumerProguardFiles 'proguard-rules.pro'
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
testInstrumentationRunnerArguments = [ // Raspi Windows LinuxVM ...
|
||||
'rfc2217_server_host': '192.168.0.100',
|
||||
'rfc2217_server_nonstandard_baudrates': 'true', // true false false
|
||||
]
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
1
usbSerialForAndroid/proguard-rules.pro
vendored
Normal file
1
usbSerialForAndroid/proguard-rules.pro
vendored
Normal file
@ -0,0 +1 @@
|
||||
-keep class com.hoho.android.usbserial.driver.* { *; }
|
@ -5,7 +5,7 @@ publishing {
|
||||
maven(MavenPublication) {
|
||||
groupId 'com.github.mik3y'
|
||||
artifactId 'usb-serial-for-android'
|
||||
version '1.x.0'
|
||||
version '2.1.0a'
|
||||
afterEvaluate {
|
||||
artifact androidSourcesJar
|
||||
artifact bundleReleaseAar
|
||||
|
Loading…
x
Reference in New Issue
Block a user