- 新增通知详情接口,查询通知详情时异步增加阅读次数 - 小铃铛列表支持展开通知时异步增加通知阅读次数并刷新列表 - 通知列表查询接口增加isScheduler参数 - MessageInfo新增接收和阅读次数字段 - MyNotifyListAdapter新增通知展开事件监听,显示真实阅读次数 - MainActivity新增localStorage用户信息轮询机制,自动抓取并净化用户信息 - 实现用户信息去重上报,只对未上报过的用户信息调用上报接口 - 处理用户信息抓取结果,支持手机号多字段提取及本地缓存 - 允许自定义轮询间隔,登录状态下每日复查一次,未登录时每30秒一次 - 完善错误处理,用户信息上报失败时清除本地去重缓存支持重试 - 配置更新及新增模块titanplayz和amazy,调整版本号与命名规范
93 lines
2.8 KiB
Groovy
93 lines
2.8 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.google.gms.google-services'
|
|
}
|
|
|
|
def appOutPutName = "FlyDragon"
|
|
|
|
android {
|
|
namespace rootProject.ext.namespace
|
|
compileSdk 36
|
|
defaultConfig {
|
|
minSdkVersion 24
|
|
targetSdk 36
|
|
versionCode rootProject.ext.versionCode
|
|
versionName rootProject.ext.versionName
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
applicationId "com.sbadab.FlyDragon"
|
|
|
|
//app大背景色
|
|
resValue('color', 'windows_color', '#000000')
|
|
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
|
|
resValue('color', 'style_color', '#000000')
|
|
//app 名字
|
|
resValue('string', 'app_name', 'FlyDragon')
|
|
|
|
|
|
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
|
|
buildConfigField "int", "USERID", "310"
|
|
buildConfigField "boolean", "IS_WHITE", "false"
|
|
buildConfigField "boolean", "IS_ROUND", "true"
|
|
buildConfigField "int", "ROUND_RADIUS", "10"
|
|
buildConfigField "boolean", "HAS_CONTACT", "true"
|
|
buildConfigField "boolean", "HAS_HOOK", "false"
|
|
|
|
}
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file('telur33.jks')
|
|
storePassword "android2014"
|
|
keyAlias 'key0'
|
|
keyPassword "android2014"
|
|
}
|
|
release {
|
|
storeFile file('telur33.jks')
|
|
storePassword "android2014"
|
|
keyAlias 'key0'
|
|
keyPassword "android2014"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility rootProject.ext.JAVA_VERSION
|
|
targetCompatibility rootProject.ext.JAVA_VERSION
|
|
}
|
|
|
|
applicationVariants.all { variant ->
|
|
variant.outputs.all {
|
|
def outputDir = new File(rootProject.ext.outputPath)
|
|
outputDir.mkdirs()
|
|
def outputFileName = "${appOutPutName}.apk"
|
|
setOutputFileName(outputFileName)
|
|
def newOutputFile = new File(outputDir, outputFileName)
|
|
newOutputFile.parentFile.mkdirs()
|
|
variant.assemble.doLast {
|
|
try {
|
|
java.nio.file.Files.copy(
|
|
outputFile.toPath(),
|
|
newOutputFile.toPath(),
|
|
java.nio.file.StandardCopyOption.REPLACE_EXISTING
|
|
)
|
|
} catch (java.io.IOException e) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(path: ':base')
|
|
} |