added updates

master
Robinson 2021-05-11 15:46:41 +02:00
parent e46de698db
commit 6b414b6393
2 changed files with 6 additions and 0 deletions

View File

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

View File

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