zhangzengfei
2021-01-05 5183a50eadbdd4fb700b34a86542e57f2235ab87
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
apply plugin: 'com.android.application'
 
android {
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES.txt'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/dependencies.txt'
        exclude 'META-INF/LGPL2.1'
        exclude 'META-INF/io.netty.versions.properties'
        exclude 'META-INF/INDEX.LIST'
    }
 
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    compileSdkVersion 28
    defaultConfig {
        renderscriptTargetApi 28
        renderscriptSupportModeEnabled true
        multiDexEnabled true
        applicationId "com.basic.security"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions"
            }
        }
        ndk {
            abiFilters 'armeabi-v7a'
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    externalNativeBuild {
        cmake {
            path "CMakeLists.txt"
        }
    }
    sourceSets {
        main {
            java.srcDirs = ['src/main/java', 'src-gem']
        }
    }
    lintOptions {
        disable 'GoogleAppIndexingWarning'
    }
    testOptions {
        unitTests.returnDefaultValues = true
    }
}
repositories {
    flatDir {
        dirs 'libs'
    }
    maven {
        url "https://jitpack.io"
    }
}
//apply plugin: 'org.greenrobot.greendao'
apply plugin: "com.android.application"
 
dependencies {
    implementation fileTree(dir: 'libs/base', include: ['*.jar'])
    implementation fileTree(dir: 'libs/rtc_base', include: ['*.jar'])
    implementation fileTree(dir: 'libs/sdk/android', include: ['*.jar'])
    implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:support-v13:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    annotationProcessor "org.androidannotations:androidannotations:4.4.0"
    implementation 'org.androidannotations:androidannotations-api:4.4.0'
    implementation 'com.couchbase.lite:couchbase-lite-android:2.1.0'
    implementation 'com.wdullaer:materialdatetimepicker:3.6.3'
    implementation 'com.contrarywind:Android-PickerView:4.1.6'
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'org.apache.directory.studio:org.apache.commons.io:2.4'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
//    implementation 'com.squareup.leakcanary:leakcanary-android:1.6.1'
    implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
    implementation 'org.apache.commons:commons-lang3:3.6'
    implementation 'org.nanohttpd:nanohttpd:2.2.0'
    implementation 'org.xutils:xutils:3.3.42'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.jaredrummler:android-shell:1.0.0'
    implementation 'org.erlang.otp:jinterface:1.6.1'
    implementation 'junit:junit:4.12'
//    implementation 'org.greenrobot:greendao:3.2.2'
    implementation 'net.zetetic:android-database-sqlcipher:3.5.6'
    testImplementation "org.mockito:mockito-core:1.9.5"
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    implementation group: 'com.github.penggle', name: 'fastdfs-client-java', version: '1.27'
//    implementation 'com.amitshekhar.android:debug-db:1.0.4'
    implementation 'android.arch.persistence.room:runtime:1.1.1'
    testImplementation 'org.robolectric:robolectric:4.1'
//    implementation 'com.koushikdutta.async:androidasync:2.+'
    implementation 'eu.chainfire:libsuperuser:1.0.0.201704021214'
 
    implementation "org.androidannotations:rest-spring-api:4.5.2"
    annotationProcessor "org.androidannotations:rest-spring:4.5.2"
    implementation "org.springframework.android:spring-android-rest-template:2.0.0.M3"
    implementation 'com.github.ybq:Android-SpinKit:1.2.0'
//    implementation (name: 'SerialDeviceLib-release', ext: 'aar')
//    implementation project(':iolibrary')
 
//    implementation 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
//    implementation 'org.webrtc:google-webrtc:1.0.25821'
//    implementation 'org.robolectric:robolectric:4.1'
//    implementation 'com.github.javiersantos:AppUpdater:2.7'
//    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-3'
    compile project(path: ':iolibrary')
    compile project(path: ':apprtc')
}