initial commit - version per properties
This commit is contained in:
commit
f5b99c3038
11 files changed
+574
No files matched your search
@@ -0,0 +1,38 @@
|
||||
import java.time.Instant
|
||||
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This is a general purpose Gradle build.
|
||||
* To learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.6/samples
|
||||
*/
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
group = "net.keinekekse"
|
||||
version = libs.versions.versionplugin.get()
|
||||
description = "Adds version information to the project."
|
||||
project.ext.set("displayname", "Version-Plugin")
|
||||
project.ext.set("copyright", "(c) 2024 Hartmut Bauer")
|
||||
project.ext.set("buildTimestamp", Instant.now().toString())
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
create("version-plugin") {
|
||||
id = "net.keinekekse.version"
|
||||
implementationClass = "net.keinekekse.version.VersionPlugin"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user