diff --git a/LICENSE b/LICENSE index 5221402..dab84c9 100644 --- a/LICENSE +++ b/LICENSE @@ -20,6 +20,12 @@ 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 + - Bouncy Castle Crypto - Lightweight cryptography API and JCE Extension + [The Apache Software License, Version 2.0] + http://www.bouncycastle.org + Copyright 2021 + The Legion of the Bouncy Castle Inc + - Kryo - Fast and efficient binary object graph serialization framework for Java [BSD 3-Clause License] https://github.com/EsotericSoftware/kryo @@ -42,8 +48,17 @@ https://github.com/EsotericSoftware/minlog Nathan Sweet - - Bouncy Castle Crypto - Lightweight cryptography API and JCE Extension + - Updates - Software Update Management [The Apache Software License, Version 2.0] - http://www.bouncycastle.org + https://git.dorkbox.com/dorkbox/Updates Copyright 2021 - The Legion of the Bouncy Castle Inc + 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 diff --git a/README.md b/README.md index 9d5d0c7..08d129c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Maven Info com.dorkbox Serializers - 1.2 + 2.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index c72695d..92c4b00 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,19 +26,19 @@ import java.time.Instant gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS // always show the stacktrace! plugins { - id("com.dorkbox.GradleUtils") version "2.8" - id("com.dorkbox.Licensing") version "2.7" - id("com.dorkbox.VersionUpdate") version "2.3" + id("com.dorkbox.GradleUtils") version "2.9" + id("com.dorkbox.Licensing") version "2.9.2" + id("com.dorkbox.VersionUpdate") version "2.4" id("com.dorkbox.GradlePublish") version "1.11" - kotlin("jvm") version "1.5.0" + kotlin("jvm") version "1.5.21" } object Extras { // set for the project const val description = "Kryo based serializers" const val group = "com.dorkbox" - const val version = "1.2" + const val version = "2.0" // set as project.ext const val name = "Serializers" @@ -99,14 +99,14 @@ tasks.jar.get().apply { } dependencies { - // listed as compile only, since we will be using kryo ANYWAYS if we use this project. **We don't want a hard dependency.** - compileOnly("com.esotericsoftware:kryo:5.1.1") + implementation("com.dorkbox:Updates:1.1") - // listed as compile only, since we will be using bouncy castle ANYWAYS if we use this project. **We don't want a hard dependency.** - compileOnly("org.bouncycastle:bcprov-jdk15on:1.68") + implementation("com.esotericsoftware:kryo:5.2.0") - testImplementation("com.esotericsoftware:kryo:5.1.1") - testImplementation("org.bouncycastle:bcprov-jdk15on:1.68") + // listed as compile only, since we will be optionally be using bouncy castle if we use this project. **We don't want a hard dependency.** + compileOnly("org.bouncycastle:bcprov-jdk15on:1.69") + + testImplementation("org.bouncycastle:bcprov-jdk15on:1.69") testImplementation("junit:junit:4.13.2") } diff --git a/src/dorkbox/serializers/SerializationDefaults.kt b/src/dorkbox/serializers/SerializationDefaults.kt index 86fd723..64494a6 100644 --- a/src/dorkbox/serializers/SerializationDefaults.kt +++ b/src/dorkbox/serializers/SerializationDefaults.kt @@ -26,7 +26,12 @@ object SerializationDefaults { /** * Gets the version number. */ - const val version = "1.2" + const val version = "2.0" + + init { + // Add this project to the updates system, which verifies this class + UUID + version information + dorkbox.updates.Updates.add(SerializationDefaults::class.java, "316353f5338341a8a3edc01d702703f8", version) + } /** * Allows for the kryo registration of sensible defaults in a common, well-used way.