Skip to content

Commit

Permalink
Merge pull request #131 from TimerTiTi/129-fix-release-103
Browse files Browse the repository at this point in the history
Release 1.0.3
  • Loading branch information
koreatlwls authored Jun 2, 2024
2 parents 6f37114 + 6ef694c commit 076523d
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
8 changes: 7 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
-keep class com.titi.app.feature.main.model.** {*;}
-keep class com.titi.app.feature.measure.model.** {*;}
-keep class com.titi.app.feature.time.model.** {*;}
-keep class com.titi.app.feature.setting.model.** {*;}

-keepclasseswithmembers class * {
@com.squareup.moshi.* <methods>;
Expand All @@ -72,4 +73,9 @@
}

-keepattributes Signature
-keepclassmembers class com.titi.app.feature.setting.model.** {*;}
-keepclassmembers class com.titi.app.feature.setting.model.** {*;}

-keepclassmembers class com.google.firebase.database.** {*;}
-keep class com.google.firebase.database.** {*;}
-keepclassmembers class com.google.firebase.database.GenericTypeIndicator { *; }
-keep class com.google.firebase.database.GenericTypeIndicator { *; }
2 changes: 1 addition & 1 deletion build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ object BuildType {
object AppConfig {
const val APP_ID = "com.titi.app"
const val APP_VERSION_NAME = "1.0.3"
const val APP_VERSION_CODE = 25
const val APP_VERSION_CODE = 26
const val APP_NAME = "TiTi"
}
10 changes: 5 additions & 5 deletions build-logic/src/main/kotlin/com/titi/common/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import org.gradle.api.artifacts.VersionCatalogsExtension
import org.gradle.api.plugins.ExtensionContainer
import org.gradle.kotlin.dsl.getByType

internal val Project.applicationExtension: CommonExtension<*, *, *, *, *>
internal val Project.applicationExtension: CommonExtension<*, *, *, *, *, *>
get() = extensions.getByType<ApplicationExtension>()

internal val Project.libraryExtension: CommonExtension<*, *, *, *, *>
internal val Project.libraryExtension: CommonExtension<*, *, *, *, *, *>
get() = extensions.getByType<LibraryExtension>()

internal val Project.androidExtension: CommonExtension<*, *, *, *, *>
internal val Project.androidExtension: CommonExtension<*, *, *, *, *, *>
get() = runCatching { libraryExtension }
.recoverCatching { applicationExtension }
.onFailure { println("Could not find Library or Application extension from this project") }
Expand All @@ -24,9 +24,9 @@ internal val Project.androidExtension: CommonExtension<*, *, *, *, *>
internal val ExtensionContainer.libs: VersionCatalog
get() = getByType<VersionCatalogsExtension>().named("libs")

internal fun Project.android(action: CommonExtension<*, *, *, *, *>.() -> Unit) {
internal fun Project.android(action: CommonExtension<*, *, *, *, *, *>.() -> Unit) {
val androidExtension = extensions.getByName("android")
if (androidExtension is CommonExtension<*, *, *, *, *>) {
if (androidExtension is CommonExtension<*, *, *, *, *, *>) {
androidExtension.apply(action)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import com.google.firebase.database.DataSnapshot
import com.google.firebase.database.DatabaseError
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.database.ValueEventListener
import com.google.firebase.database.getValue
import com.titi.app.core.designsystem.R
import com.titi.app.core.designsystem.component.TdsText
import com.titi.app.core.designsystem.navigation.TdsBottomNavigationBar
Expand Down Expand Up @@ -71,7 +70,7 @@ fun SettingScreen(
val latestVersion = snapshot
.children
.lastOrNull()
?.getValue<Version>()
?.getValue(Version::class.java)
?.currentVersion

val currentVersion = context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import com.google.firebase.database.DataSnapshot
import com.google.firebase.database.DatabaseError
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.database.ValueEventListener
import com.google.firebase.database.getValue
import com.titi.app.core.designsystem.R
import com.titi.app.core.designsystem.component.TdsIconButton
import com.titi.app.core.designsystem.component.TdsText
Expand All @@ -54,7 +53,7 @@ fun UpdatesListScreen(onNavigateUp: () -> Unit) {
object : ValueEventListener {
override fun onDataChange(snapshot: DataSnapshot) {
for (data in snapshot.children) {
data.getValue<Version>()?.let {
data.getValue(Version::class.java)?.let {
updates.add(it)
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ compileSdk = "34"
targetSdk = "34"
minSdk = "26"

agp = "8.3.0-alpha11"
agp = "8.3.2"
kotlin = "1.9.21"
coreKtx = "1.12.0"
coroutine = "1.7.3"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Sep 27 15:03:19 KST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
5 changes: 3 additions & 2 deletions release-note.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TiTi android dev 1.0.3(25)
TiTi android dev 1.0.3(26)
- 세팅 화면
- 데일리 추가, 수정 로직 변경
- 측정화면 activity -> screen
- 측정화면 activity -> screen
- proguard

0 comments on commit 076523d

Please sign in to comment.