Updated build deps + updates.

This commit is contained in:
Robinson 2023-02-14 13:32:19 +01:00
parent 345456afdb
commit ca5094b514
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 9 additions and 3 deletions

5
build.gradle.kts Executable file → Normal file
View File

@ -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 {

7
src/dorkbox/notify/Notify.kt Executable file → Normal file
View File

@ -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.