From 7546d0d793e05c4e48b7dfd4eeea086d09eae5a4 Mon Sep 17 00:00:00 2001 From: Robinson Date: Thu, 3 Mar 2022 00:32:02 +0100 Subject: [PATCH] Updated version + dependencies --- LICENSE | 24 ++++++++-------- README.md | 2 +- build.gradle.kts | 52 ++++++++++++++++++---------------- src/dorkbox/storage/Storage.kt | 2 +- 4 files changed, 41 insertions(+), 39 deletions(-) diff --git a/LICENSE b/LICENSE index 28d630b..7db7994 100644 --- a/LICENSE +++ b/LICENSE @@ -1,34 +1,26 @@ - Storage - Storage system for Java [The Apache Software License, Version 2.0] https://git.dorkbox.com/dorkbox/Storage - Copyright 2021 + Copyright 2022 Dorkbox LLC Extra license information - - Kotlin - - [The Apache Software License, Version 2.0] - https://github.com/JetBrains/kotlin - Copyright 2020 - JetBrains s.r.o. and Kotlin Programming Language contributors - Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply - See: https://github.com/JetBrains/kotlin/blob/master/license/README.md - - kotlin-logging - Lightweight logging framework for Kotlin [The Apache Software License, Version 2.0] https://github.com/MicroUtils/kotlin-logging - Copyright 2021 + Copyright 2022 Ohad Shai - SLF4J - Simple facade or abstraction for various logging frameworks [MIT License] http://www.slf4j.org - Copyright 2021 + Copyright 2022 QOS.ch - Kryo - Fast and efficient binary object graph serialization framework for Java [BSD 3-Clause License] https://github.com/EsotericSoftware/kryo - Copyright 2021 + Copyright 2022 Nathan Sweet Extra license information @@ -47,6 +39,14 @@ https://github.com/EsotericSoftware/minlog Nathan Sweet + - Kotlin - + [The Apache Software License, Version 2.0] + https://github.com/JetBrains/kotlin + Copyright 2020 + JetBrains s.r.o. and Kotlin Programming Language contributors + Kotlin Compiler, Test Data+Libraries, and Tools repository contain third-party code, to which different licenses may apply + See: https://github.com/JetBrains/kotlin/blob/master/license/README.md + - ByteUtilties - Byte manipulation and Unsigned Number Utilities [The Apache Software License, Version 2.0] https://git.dorkbox.com/dorkbox/ByteUtilities diff --git a/README.md b/README.md index 597a7dc..0cf6574 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Maven Info com.dorkbox Storage - 1.0 + 1.0.1 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 7a45869..efb2a39 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,19 +25,19 @@ import java.time.Instant gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace! plugins { - id("com.dorkbox.GradleUtils") version "2.9" - id("com.dorkbox.Licensing") version "2.9.2" + id("com.dorkbox.GradleUtils") version "2.16" + id("com.dorkbox.Licensing") version "2.12" id("com.dorkbox.VersionUpdate") version "2.4" - id("com.dorkbox.GradlePublish") version "1.11" + id("com.dorkbox.GradlePublish") version "1.12" - kotlin("jvm") version "1.5.21" + kotlin("jvm") version "1.6.10" } object Extras { // set for the project const val description = "Storage system for Java" const val group = "com.dorkbox" - const val version = "1.0" + const val version = "1.0.1" // set as project.ext const val name = "Storage" @@ -84,35 +84,37 @@ tasks.jar.get().apply { } dependencies { -// // really fast storage -// // https://github.com/lmdbjava/lmdbjava -// compileOnly("org.lmdbjava:lmdbjava:0.8.1") -// -// // https://github.com/OpenHFT/Chronicle-Map -// compileOnly("net.openhft:chronicle-map:3.20.40") + // really fast storage + // https://github.com/lmdbjava/lmdbjava +// compileOnly("org.lmdbjava:lmdbjava:0.8.2") + + // https://github.com/OpenHFT/Chronicle-Map +// compileOnly("net.openhft:chronicle-map:3.21.86") // https://github.com/MicroUtils/kotlin-logging - implementation("io.github.microutils:kotlin-logging:2.0.10") - implementation("org.slf4j:slf4j-api:1.8.0-beta4") + api("io.github.microutils:kotlin-logging:2.1.21") + api("org.slf4j:slf4j-api:1.8.0-beta4") - implementation("com.dorkbox:ByteUtilities:1.3") - implementation("com.dorkbox:Serializers:2.5") - implementation("com.dorkbox:ObjectPool:3.4") - implementation("com.dorkbox:Updates:1.1") + api("com.dorkbox:Updates:1.1") - implementation("com.esotericsoftware:kryo:5.2.0") + api("com.dorkbox:ByteUtilities:1.5") + api("com.dorkbox:Serializers:2.6") + api("com.dorkbox:ObjectPool:3.5") -// // really fast storage -// // https://github.com/lmdbjava/lmdbjava -// testImplementation("org.lmdbjava:lmdbjava:0.8.1") -// -// // https://github.com/OpenHFT/Chronicle-Map -// testImplementation("net.openhft:chronicle-map:3.20.40") + api("com.esotericsoftware:kryo:5.3.0") - testImplementation("junit:junit:4.13.1") + + // really fast storage + // https://github.com/lmdbjava/lmdbjava + testImplementation("org.lmdbjava:lmdbjava:0.8.2") + + // https://github.com/OpenHFT/Chronicle-Map + testImplementation("net.openhft:chronicle-map:3.21.86") + + testImplementation("junit:junit:4.13.2") testImplementation("ch.qos.logback:logback-classic:1.3.0-alpha4") } diff --git a/src/dorkbox/storage/Storage.kt b/src/dorkbox/storage/Storage.kt index 4772383..a216488 100644 --- a/src/dorkbox/storage/Storage.kt +++ b/src/dorkbox/storage/Storage.kt @@ -31,7 +31,7 @@ abstract class Storage(val logger: KLogger) : AutoCloseable { /** * Gets the version number. */ - const val version = "1.0" + const val version = "1.0.1" init { // Add this project to the updates system, which verifies this class + UUID + version information