Files
venue_android/app/build.gradle
2020-08-30 17:31:45 +08:00

85 lines
2.9 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.ydd.sportfaceid"
minSdkVersion 19
targetSdkVersion 28
versionCode 4
versionName "1.3"
flavorDimensions "versionCode"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
android {
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
product {
/**
* 服务器连接
*/
// buildConfigField("String", "SERVER_IP", "\"120.27.209.4\"")
// buildConfigField("String", "SERVER_PORT", "\"56792\"")
buildConfigField("String", "SERVER_IP", "\"lmqhznn.goho.co\"")
buildConfigField("String", "SERVER_PORT", "\"26283\"")
/**
* 门禁连接地址
*/
buildConfigField("String", "DOOR_SERVER_IP", "\"192.168.1.150\"")
buildConfigField("String", "DOOR_SERVER_PORT", "\"8000\"")
buildConfigField("String", "DOOR_SN", "\"MC-5824T28085603\"")
buildConfigField("String", "DOOR_PWD", "\"FFFFFFFF\"")
}
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:2.0.0'
implementation 'com.google.code.gson:gson:2.8.4'
implementation 'com.squareup.okhttp3:okhttp:3.3.1'
implementation 'io.netty:netty-all:4.1.10.Final'
implementation 'org.greenrobot:eventbus:3.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'io.reactivex:rxjava:1.2.4'
implementation 'io.reactivex:rxandroid:1.2.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation('com.github.bumptech.glide:glide:4.8.0') {
exclude group: "com.android.support"
}
implementation 'de.mrmaffen:libvlc-android:2.1.12@aar'
implementation "org.java-websocket:Java-WebSocket:1.4.0"
implementation 'com.tencent.bugly:crashreport:latest.release'
implementation 'com.google.zxing:core:3.2.1'
implementation 'cn.bingoogolapple:bga-qrcodecore:1.1.7@aar'
implementation 'cn.bingoogolapple:bga-zxing:1.1.7@aar'
}