Updated build deps

master
Robinson 2023-06-29 19:51:40 +02:00
parent 06c7df2fd0
commit 1753135a2c
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 8 additions and 12 deletions

View File

@ -7,7 +7,7 @@
Extra license information
- SLF4J - Simple facade or abstraction for various logging frameworks
[MIT License]
http://www.slf4j.org
https://www.slf4j.org
Copyright 2023
QOS.ch

View File

@ -14,8 +14,6 @@
* limitations under the License.
*/
import java.time.Instant
///////////////////////////////
////// PUBLISH TO SONATYPE / MAVEN CENTRAL
////// TESTING : (to local maven repo) <'publish and release' - 'publishToMavenLocal'>
@ -25,12 +23,12 @@ import java.time.Instant
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace!
plugins {
id("com.dorkbox.GradleUtils") version "3.8"
id("com.dorkbox.Licensing") version "2.17"
id("com.dorkbox.VersionUpdate") version "2.5"
id("com.dorkbox.GradlePublish") version "1.16"
id("com.dorkbox.GradleUtils") version "3.17"
id("com.dorkbox.Licensing") version "2.24"
id("com.dorkbox.VersionUpdate") version "2.8"
id("com.dorkbox.GradlePublish") version "1.18"
kotlin("jvm") version "1.7.20"
kotlin("jvm") version "1.8.0"
}
object Extras {
@ -45,8 +43,6 @@ object Extras {
const val vendor = "Dorkbox LLC"
const val vendorUrl = "https://dorkbox.com"
const val url = "https://git.dorkbox.com/dorkbox/JNA"
val buildDate = Instant.now().toString()
}
///////////////////////////////
@ -75,7 +71,7 @@ tasks.jar.get().apply {
attributes["Specification-Vendor"] = Extras.vendor
attributes["Implementation-Title"] = "${Extras.group}.${Extras.id}"
attributes["Implementation-Version"] = Extras.buildDate
attributes["Implementation-Version"] = GradleUtils.now()
attributes["Implementation-Vendor"] = Extras.vendor
}
}
@ -86,7 +82,7 @@ dependencies {
api("com.dorkbox:OS:1.6")
api("com.dorkbox:Updates:1.1")
api("org.slf4j:slf4j-api:2.0.6")
api("org.slf4j:slf4j-api:2.0.7")
val jnaVersion = "5.12.1"
compileOnly("net.java.dev.jna:jna-jpms:$jnaVersion")