|
@@ -36,6 +36,14 @@ android {
|
|
|
buildConfigField "String", "BASE_URL_H5", TEST_BASE_URL_H5
|
|
|
buildConfigField "String", "BASE_URL_H5_STUDENT", TEST_BASE_URL_H5_STUDENT
|
|
|
}
|
|
|
+
|
|
|
+ preRelease{
|
|
|
+ minifyEnabled false
|
|
|
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
+ buildConfigField "String", "BASE_SERVER_URL", DEV_BASE_URL
|
|
|
+ buildConfigField "String", "BASE_URL_H5", DEV_BASE_URL_H5
|
|
|
+ buildConfigField "String", "BASE_URL_H5_STUDENT", DEV_BASE_URL_H5_STUDENT
|
|
|
+ }
|
|
|
}
|
|
|
compileOptions {
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|