Versions-Handling geändert: PLugin erzeugt Versions-Object
This commit is contained in:
1 parent
907e8c7770
commit
8aa418c0f1
3 files changed
+35
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package net.keinekekse.util
|
||||
|
||||
import net.keinekekse.version.Version
|
||||
|
||||
object VERSION: Version {
|
||||
override val version = "0.2.8"
|
||||
override val fullVersion = "0.2.8+build.106"
|
||||
override val major = 0
|
||||
override val minor = 2
|
||||
override val patch = 8
|
||||
override val preRelease = ""
|
||||
override val buildMetadata = "build.106"
|
||||
override val buildDate = "2026-01-18T01:02:24.139170Z"
|
||||
override val displayName = "Utility Library"
|
||||
override val copyright = "Copyright (c) 2025-2026 Hartmut Bauer"
|
||||
override val name = "util"
|
||||
override val description = "Kotlin Utility Library"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package net.keinekekse.version
|
||||
|
||||
interface Version {
|
||||
val version: String
|
||||
val fullVersion: String
|
||||
val major: Int
|
||||
val minor: Int
|
||||
val patch: Int
|
||||
val preRelease: String
|
||||
val buildMetadata: String
|
||||
val buildDate: String
|
||||
val displayName: String
|
||||
val copyright: String
|
||||
val name: String
|
||||
val description: String
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package net.keinekekse.version
|
||||
package net.keinekekse.version.manifest
|
||||
|
||||
import java.time.Instant
|
||||
import java.time.format.DateTimeFormatter
|
||||
Reference in new issue
Block a user