kopia lustrzana https://github.com/mik3y/usb-serial-for-android
36 wiersze
1.1 KiB
Groovy
36 wiersze
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '29.0.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 17
|
|
targetSdkVersion 29
|
|
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
|
|
]
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "androidx.annotation:annotation:1.1.0"
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'commons-net:commons-net:3.8.0'
|
|
androidTestImplementation 'org.apache.commons:commons-lang3:3.11'
|
|
}
|
|
|
|
//apply from: 'publishToMavenLocal.gradle'
|
|
|
|
//apply from: 'coverage.gradle'
|