Skip to content

Commit

Permalink
feat: 蓝奏云
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Sep 2, 2023
1 parent df56cda commit 6a899a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
## 安装

- [releases](https://github.com/gkd-kit/gkd/releases)
- [蓝奏云](https://lisonge.lanzouy.com/ifQgP179ag6f)

## 功能

Expand Down
17 changes: 10 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,19 @@ android {
javaCompileOptions {
annotationProcessorOptions {
arguments += mapOf(
"room.schemaLocation" to "$projectDir/schemas",
"room.incremental" to "true"
"room.schemaLocation" to "$projectDir/schemas", "room.incremental" to "true"
)
}
}
val nowTime = System.currentTimeMillis()
buildConfigField("Long", "BUILD_TIME", jsonStringOf(nowTime) + "L")
buildConfigField("String", "BUILD_DATE", jsonStringOf(SimpleDateFormat("yyyy-MM-dd HH:mm:ss ZZ", Locale.SIMPLIFIED_CHINESE).format(nowTime)))
buildConfigField(
"String", "BUILD_DATE", jsonStringOf(
SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss ZZ", Locale.SIMPLIFIED_CHINESE
).format(nowTime)
)
)
}

lint {
Expand All @@ -62,17 +67,16 @@ android {
isMinifyEnabled = false
setProguardFiles(
listOf(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)
)
signingConfig = signingConfigs.getByName("release")
manifestPlaceholders["appName"] = "GKD"
}
debug {
applicationIdSuffix = ".debug"
signingConfig = signingConfigs.getByName("release")
manifestPlaceholders["appName"] = "GKD-debug"
applicationIdSuffix = ".debug"
}
}
compileOptions {
Expand Down Expand Up @@ -170,7 +174,6 @@ dependencies {
implementation(libs.others.floating.bubble.view)

implementation(libs.destinations.core)
// implementation(libs.destinations.animations)
ksp(libs.destinations.ksp)

implementation(libs.google.hilt.android)
Expand Down

0 comments on commit 6a899a1

Please sign in to comment.