Join Slack
Powered by
how can i get this value (version of my app) : <ht...
# compose-desktop
z
Zoff
11/20/2023, 7:08 PM
how can i get this value (version of my app) :
https://github.com/Zoxcore/trifa_material/blob/master/build.gradle.kts#L11
into kotlin code to do something with it? like display it in the app window
Zoff
11/20/2023, 7:08 PM
build.gradle.kts version = "1.0.3"
k
Kirill Grouchnikov
11/20/2023, 7:12 PM
https://slack-chats.kotlinlang.org/t/2468283/any-idea-how-to-retrieve-the-version-defined-in-build-gradle
👍 1
Kirill Grouchnikov
11/20/2023, 7:12 PM
https://stackoverflow.com/questions/33020069/how-to-get-version-attribute-from-a-gradle-build-to-be-included-in-runtime-swing
z
Zoff
11/20/2023, 7:24 PM
thanks for the hint. i tried this before and it did not work. now it does. i must have made a mistake back then i guess
Open in Slack
Previous
Next