6.0.1 - 增加客户端/服务端连接方式 增加部分全局对象 部分插件及工具版本更新
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: "com.android.library"
|
||||
apply plugin: "kotlin-android"
|
||||
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
||||
kotlinOptions {
|
||||
@@ -27,7 +27,7 @@ android {
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
api 'androidx.appcompat:appcompat:1.4.0'
|
||||
api project(':common')
|
||||
testImplementation "junit:junit:${junitVer}"
|
||||
implementation "androidx.appcompat:appcompat:1.4.0"
|
||||
api project(":common")
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ class DfsFilterTest {
|
||||
fun filter() {
|
||||
val filter = RandomFilter()
|
||||
val root = TestUiObject(10)
|
||||
val list = DFS(filter).search(root)
|
||||
val list = DFS.search(root, filter)
|
||||
for (uiObject in list) {
|
||||
if (root !== uiObject)
|
||||
uiObject.recycle()
|
||||
|
||||
Reference in New Issue
Block a user