fixes, update version
This commit is contained in:
1 parent
22e1e04673
commit
3ec788db13
5 files changed
+12
-7
No files matched your search
Generated
+1
-1
@@ -4,5 +4,5 @@
|
|||||||
<component name="FrameworkDetectionExcludesConfiguration">
|
<component name="FrameworkDetectionExcludesConfiguration">
|
||||||
<file type="web" url="file://$PROJECT_DIR$" />
|
<file type="web" url="file://$PROJECT_DIR$" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_25" project-jdk-name="21" project-jdk-type="JavaSDK" />
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK" />
|
||||||
</project>
|
</project>
|
||||||
+4
-1
@@ -14,7 +14,7 @@ group = "net.keinekekse"
|
|||||||
version = masterLibs.versions.utilLibraryVersion.get()
|
version = masterLibs.versions.utilLibraryVersion.get()
|
||||||
description = "Kotlin Utility Library"
|
description = "Kotlin Utility Library"
|
||||||
extra["displayname"] = "Utility Library"
|
extra["displayname"] = "Utility Library"
|
||||||
extra["copyright"] = "Copyright (c) 2025 Hartmut Bauer"
|
extra["copyright"] = "Copyright (c) 2025-2026 Hartmut Bauer"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://nexus.keinekekse.net/repository/maven-public/")
|
maven("https://nexus.keinekekse.net/repository/maven-public/")
|
||||||
@@ -22,6 +22,9 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(masterLibs.kotlinxSerialization)
|
implementation(masterLibs.kotlinxSerialization)
|
||||||
|
// f. cmd line via annotation KMP?
|
||||||
|
implementation(kotlin("reflect"))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#auto generated
|
#auto generated
|
||||||
#Sat Dec 20 00:41:12 CET 2025
|
#Sun Jan 18 02:02:24 CET 2026
|
||||||
build.number=103
|
build.number=106
|
||||||
+1
-1
@@ -19,7 +19,7 @@ dependencyResolutionManagement {
|
|||||||
versionCatalogs {
|
versionCatalogs {
|
||||||
create("masterLibs") {
|
create("masterLibs") {
|
||||||
// from(files("gradle/masterlibs.versions.toml"))
|
// from(files("gradle/masterlibs.versions.toml"))
|
||||||
from("net.keinekekse:version-catalog:100")
|
from("net.keinekekse:version-catalog:107")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
package net.keinekekse.config
|
package net.keinekekse.config
|
||||||
|
|
||||||
|
import net.keinekekse.util.VERSION
|
||||||
import net.keinekekse.version.Version
|
import net.keinekekse.version.Version
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
@@ -10,15 +11,16 @@ import java.io.File
|
|||||||
* @property configFileName Name of the configuration file to use
|
* @property configFileName Name of the configuration file to use
|
||||||
*/
|
*/
|
||||||
abstract class AbstractInitConfig(
|
abstract class AbstractInitConfig(
|
||||||
|
val applicationVersion: Version,
|
||||||
val configFileName: String = DEFAULT_CONFIG_FILENAME,
|
val configFileName: String = DEFAULT_CONFIG_FILENAME,
|
||||||
) {
|
) {
|
||||||
// abstract fun start()
|
// abstract fun start()
|
||||||
|
|
||||||
/** Current application version */
|
/** Current application version */
|
||||||
val applicationVersion: Version by lazy { Version(this::class.java) }
|
// val applicationVersion: Version by lazy { Version(this::class.java) }
|
||||||
|
|
||||||
/** Library version information */
|
/** Library version information */
|
||||||
val libraryVersion: Version by lazy { Version(Version::class.java) }
|
val libraryVersion: Version = VERSION //by lazy { Version(Version::class.java) }
|
||||||
|
|
||||||
/** Configuration directory path */
|
/** Configuration directory path */
|
||||||
val configDirectory: String by lazy {
|
val configDirectory: String by lazy {
|
||||||
|
|||||||
Reference in new issue
Block a user