代码拉取完成,页面将自动刷新
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.ashd.keystone"
minSdkVersion 21
targetSdkVersion 29
versionCode 100
versionName "1.0.0"
flavorDimensions "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
releaseSign {
keyAlias 'aishang.keystore'
keyPassword 'rswzjq!@#$'
storeFile file('D:\\GitWorkspace\\AshdKeystone\\keystore\\rk7.1_rger.jks')
storePassword 'rswzjq!@#$'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
signingConfig signingConfigs.releaseSign
}
}
productFlavors {
ashd {}
}
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "AshdKeystone_${variant.productFlavors[0].name}_c${defaultConfig.versionCode}_v${defaultConfig.versionName}_${buildType.name}_${releaseTime()}.apk"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
def releaseTime() {
return new Date().format("yyyyMMdd-HHmmss", TimeZone.getDefault())
}
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly files("libs/layoutlib.jar")
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.nostra13.u
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。