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.