Closed LazyIonEs closed 8 months ago
Hello! You can use some gradle plugins for code generation. For example pay attention to https://github.com/gmazzo/gradle-buildconfig-plugin. And you can configure some values with such information right in your gradle scripts. I Application you will read this values from the automatically generated class.
This method is also useful: System.getProperty("jpackage.app-version")
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I now want to create an about page within the application, which contains the application name, application version and other information, but I don’t know how to obtain these parameters in build.gradle.kts, How to write code
Mainly on mac/windows