Added version information

This commit is contained in:
Robinson 2021-10-08 15:02:58 +02:00
parent 0aeb6c2ec6
commit 31d3b7bc7f
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
3 changed files with 8 additions and 1 deletions

View File

@ -48,7 +48,9 @@ object Extras {
val buildDate = Instant.now().toString()
const val coroutineVer = "1.4.3"
const val vaadinVer = "14.7.1" // this must be synchronized with the gradle plugin
// this must match the version information in the VaadinConfig.kt file (this is automatically passed into the plugin)
const val vaadinVer = "14.7.1"
const val undertowVer = "2.2.10.Final"
}

View File

@ -48,6 +48,8 @@ class VaadinApplication : ExceptionHandler {
*/
const val version = "14.7"
const val vaadinVersion = VaadinConfig.VAADIN_VERSION
init {
// Add this project to the updates system, which verifies this class + UUID + version information
dorkbox.updates.Updates.add(VaadinApplication::class.java, "fc74a52b08c8410fabfea67ac5dca566", version)

View File

@ -13,6 +13,9 @@ import java.io.File
*/
class VaadinConfig(runningAsJar: Boolean, tempDir: File) {
companion object {
// this must match the version information in the build.gradle.kts file
const val VAADIN_VERSION = "14.7.1"
val EXTRACT_JAR = "extract.jar"
val EXTRACT_JAR_OVERWRITE = "extract.jar.overwrite"
val DEBUG = "debug"