Skip to content

Commit

Permalink
show compose version
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Dec 21, 2023
1 parent 85108f1 commit aa06e65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ buildConfig {
buildConfigField("String", "APP_NAME", "\"${project.name}\"")
buildConfigField("String", "APP_VERSION", provider { "\"${project.version}\"" })
buildConfigField("String", "PROJECT_VERSION", "\"${project.version}\"")
buildConfigField("String", "KOTLIN_VERSION", "\"" + kotlin.coreLibrariesVersion + "\"")
buildConfigField("String", "KOTLIN_VERSION", "\"${kotlin.coreLibrariesVersion}\"")
buildConfigField("String", "COMPOSE_VERSION", "\"${project.findProperty("compose.version")}\"")
try
{
try
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ private fun GeneralInfo() {
add(Entry(i18n("about.git_commit_msg"), BuildConfig.GIT_COMMIT_MSG))
add(Entry(i18n("about.website"), "https://github.com/Zoxcore/trifa_material", true))

try
{
add(Entry(i18n("about.compose_version"), BuildConfig.COMPOSE_VERSION))
} catch(_: Exception) {}
try
{
add(Entry(i18n("about.kotlin_compiler_used_version"), BuildConfig.KOTLIN_VERSION))
Expand Down

0 comments on commit aa06e65

Please sign in to comment.