当需要运行是正式包的时候
plugins {
id 'com.android.application'
}
android {
compileSdkVersion androidAll.compileSdkVersion
buildToolsVersion androidAll.buildToolsVersion
defaultConfig {
applicationId androidAll.applicationId
minSdkVersion androidAll.minSdkVersion
targetSdkVersion androidAll.targetSdkVersion
versionCode androidAll.versionCode
versionName androidAll.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
debug {
keyAlias 'pluto'
keyPassword '123456'
storeFile file('/Users/sven/Desktop/pluto.jks')
storePassword '123456'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug{
signingConfig signingConfigs.debug
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation(rootAll.appcompat)
implementation(rootAll.material)
implementation(rootAll.constraintlayout)
testImplementation(rootAll.junit)
androidTestImplementation(rootAll.extjunit)
androidTestImplementation(rootAll.espressocore)
}