Converted Mobibot class to Kotlin.
This commit is contained in:
parent
a44b0c1f49
commit
69441f7006
30 changed files with 956 additions and 1134 deletions
32
ReleaseInfo.mustache
Normal file
32
ReleaseInfo.mustache
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* This file is automatically generated.
|
||||
* Do not modify! -- ALL CHANGES WILL BE ERASED!
|
||||
*/
|
||||
package {{packageName}}
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.time.ZoneId
|
||||
import java.time.Instant
|
||||
|
||||
/**
|
||||
* Provides semantic version information.
|
||||
*
|
||||
* @author [Semantic Version Annotation Processor](https://github.com/ethauvin/semver)
|
||||
*/
|
||||
object ReleaseInfo{
|
||||
const val PROJECT = "{{project}}"
|
||||
const val VERSION = "{{version}}"
|
||||
|
||||
@JvmField
|
||||
val BUILDDATE = LocalDateTime.ofInstant(Instant.ofEpochMilli({{epoch}}L), ZoneId.systemDefault())
|
||||
|
||||
const val MAJOR = {{major}}
|
||||
const val MINOR = {{minor}}
|
||||
const val PATCH = {{patch}}
|
||||
const val BUILDMETA = "{{buildMeta}}"
|
||||
const val PRERELEASE = "{{preRelease}}"
|
||||
|
||||
const val WEBSITE = "https://www.mobitopia.org/mobibot/"
|
||||
const val AUTHOR = "Erik C. Thauvin"
|
||||
const val AUTHOR_URL = "https://erik.thauvin.net/"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue