|
@@ -1,11 +1,7 @@
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
-// Create a variable called keystorePropertiesFile, and initialize it to your
|
|
|
|
|
-// keystore.properties file, in the rootProject folder.
|
|
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
-// Initialize a new Properties() object called keystoreProperties.
|
|
|
|
|
def keystoreProperties = new Properties()
|
|
def keystoreProperties = new Properties()
|
|
|
-// Load your keystore.properties file into the keystoreProperties object.
|
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
|
|
|
static def buildTime() {
|
|
static def buildTime() {
|
|
@@ -13,6 +9,16 @@ static def buildTime() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
android {
|
|
|
|
|
+
|
|
|
|
|
+ android.applicationVariants.all {
|
|
|
|
|
+ variant ->
|
|
|
|
|
+ variant.outputs.all {
|
|
|
|
|
+ //这里修改apk文件名
|
|
|
|
|
+ outputFileName = "${'uu'}_v${defaultConfig.versionName}_${buildType.name}.apk"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
signingConfigs {
|
|
signingConfigs {
|
|
|
release {
|
|
release {
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
keyAlias keystoreProperties['keyAlias']
|
|
@@ -80,5 +86,6 @@ dependencies {
|
|
|
implementation project(':module_main')
|
|
implementation project(':module_main')
|
|
|
implementation project(':module_girls')
|
|
implementation project(':module_girls')
|
|
|
implementation project(':module_news')
|
|
implementation project(':module_news')
|
|
|
|
|
+ implementation project(':module_test')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|