From ca5094b5147650da34c739756c7a16eefe4489af Mon Sep 17 00:00:00 2001 From: Robinson Date: Tue, 14 Feb 2023 13:32:19 +0100 Subject: [PATCH] Updated build deps + updates. --- build.gradle.kts | 5 +++-- src/dorkbox/notify/Notify.kt | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) mode change 100755 => 100644 build.gradle.kts mode change 100755 => 100644 src/dorkbox/notify/Notify.kt diff --git a/build.gradle.kts b/build.gradle.kts old mode 100755 new mode 100644 index 86d2cb9..22bfc3e --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,7 +38,7 @@ object Extras { // set for the project const val description = "Linux, MacOS, or Windows (notification/growl/toast/) popups for the desktop for Java 8+" const val group = "com.dorkbox" - const val version = "3.7" + const val version = "4.0" // set as project.ext const val name = "Notify" @@ -101,10 +101,11 @@ tasks.jar.get().apply { } dependencies { + api("com.dorkbox:PropertyLoader:1.2") api("com.dorkbox:TweenEngine:9.0") api("com.dorkbox:SwingActiveRender:1.3") + api("com.dorkbox:Updates:1.1") api("com.dorkbox:Utilities:1.40") - api("com.dorkbox:PropertyLoader:1.2") } publishToSonatype { diff --git a/src/dorkbox/notify/Notify.kt b/src/dorkbox/notify/Notify.kt old mode 100755 new mode 100644 index f42eecb..11bbb44 --- a/src/dorkbox/notify/Notify.kt +++ b/src/dorkbox/notify/Notify.kt @@ -104,7 +104,12 @@ class Notify private constructor() { /** * Gets the version number. */ - const val version = "3.7" + const val version = "4.0" + + init { + // Add this project to the updates system, which verifies this class + UUID + version information + dorkbox.updates.Updates.add(Notify::class.java, "8916aaf704e6457ba139cdd501e41797", version) + } /** * Builder pattern to create the notification.