diff --git a/build.gradle.kts b/build.gradle.kts index b87efc2..16d8e8c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -82,6 +82,7 @@ tasks.jar.get().apply { dependencies { implementation("org.slf4j:slf4j-api:1.8.0-beta4") + implementation("com.dorkbox:Updates:1.1") } publishToSonatype { diff --git a/src/com/esotericsoftware/minlog/Log.java b/src/com/esotericsoftware/minlog/Log.java index ed77e09..6fff848 100644 --- a/src/com/esotericsoftware/minlog/Log.java +++ b/src/com/esotericsoftware/minlog/Log.java @@ -63,6 +63,11 @@ public class Log { return "2.3"; } + static { + // Add this project to the updates system, which verifies this class + UUID + version information + dorkbox.updates.Updates.INSTANCE.add(Log.class, "967eddd028ae46f884d9a04ff6e3b9d3", getVersion()); + } + /** * Sets the level to log. If a version of this class is being used that has a final log level, this has no affect. */