desc:独立串口通信代码到单独lib
parent
9c88f40291
commit
ff3aa8fcd1
@ -0,0 +1 @@
|
||||
/build
|
@ -0,0 +1,22 @@
|
||||
apply from: "${rootProject.rootDir}/buildCommon/commonLibConfig.gradle"
|
||||
project.ext.setLibDefaultConfig project
|
||||
|
||||
android {
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.aill:AndroidSerialPort:1.0.8'
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.common.serialport">
|
||||
|
||||
</manifest>
|
@ -1,4 +1,4 @@
|
||||
package com.common.commonlib.serialport;
|
||||
package com.common.serialport;
|
||||
|
||||
/**
|
||||
* @author by AllenJ on 2018/5/3.
|
@ -1,4 +1,4 @@
|
||||
package com.common.commonlib.serialport;
|
||||
package com.common.serialport;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.common.commonlib.serialport;
|
||||
package com.common.serialport;
|
||||
|
||||
import android.util.Log;
|
||||
|
Loading…
Reference in New Issue