feat: 新增多个模块的基础配置和资源文件
This commit is contained in:
@@ -3,7 +3,7 @@ plugins {
|
||||
id 'com.google.gms.google-services'
|
||||
}
|
||||
|
||||
def appOutPutName = "1xsgdsdgsdlgfsdgdflgdfh"
|
||||
def appOutPutName = "1xsands"
|
||||
|
||||
android {
|
||||
namespace rootProject.ext.namespace
|
||||
@@ -11,31 +11,26 @@ android {
|
||||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdk 36
|
||||
versionCode 141
|
||||
versionName "v1.4.1"
|
||||
versionCode rootProject.ext.versionCode
|
||||
versionName rootProject.ext.versionName
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
//包名
|
||||
applicationId "com.xyz.xsgd1"
|
||||
applicationId "com.sdhuaidgai.xsands"
|
||||
|
||||
//app大背景色
|
||||
resValue('color', 'windows_color', '#400e15')
|
||||
resValue('color', 'windows_color', '#1A1A1A')
|
||||
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
|
||||
resValue('color', 'style_color', '#121212')
|
||||
resValue('color', 'style_color', '#1A1A1A')
|
||||
//app 名字
|
||||
resValue('string', 'app_name', '1XSGD')
|
||||
//预埋订阅网址
|
||||
buildConfigField "String", "BASE_URL", "\"https://1xsgd.org/\""
|
||||
//后台唯一ID
|
||||
buildConfigField "int", "USERID", "255"
|
||||
//状态栏文字颜色是否为白色
|
||||
buildConfigField "boolean", "IS_WHITE", "true"
|
||||
//是否强转启动图为圆形
|
||||
buildConfigField "boolean", "IS_ROUND", "false"
|
||||
//IS_ROUND 为 true时 圆角启动logo的 圆角大小 为0 表示为圆形 否则为ROUND_RADIUS的 dp2px的 数字大小
|
||||
buildConfigField "int", "ROUND_RADIUS", "0"
|
||||
//已废弃
|
||||
resValue('string', 'app_name', '1xsands')
|
||||
|
||||
|
||||
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
|
||||
buildConfigField "int", "USERID", "268"
|
||||
buildConfigField "boolean", "IS_WHITE", "false"
|
||||
buildConfigField "boolean", "IS_ROUND", "true"
|
||||
buildConfigField "int", "ROUND_RADIUS", "10"
|
||||
buildConfigField "boolean", "HAS_CONTACT", "false"
|
||||
//已废弃
|
||||
buildConfigField "boolean", "HAS_HOOK", "false"
|
||||
|
||||
}
|
||||
@@ -45,16 +40,16 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file('justlet.jks')
|
||||
storePassword "123456"
|
||||
storeFile file('telur33.jks')
|
||||
storePassword "android2014"
|
||||
keyAlias 'key0'
|
||||
keyPassword "123456"
|
||||
keyPassword "android2014"
|
||||
}
|
||||
release {
|
||||
storeFile file('justlet.jks')
|
||||
storePassword "123456"
|
||||
storeFile file('telur33.jks')
|
||||
storePassword "android2014"
|
||||
keyAlias 'key0'
|
||||
keyPassword "123456"
|
||||
keyPassword "android2014"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user