From d2b049c1adab877af74f3e4e70abc3eb4a71d069 Mon Sep 17 00:00:00 2001 From: Robinson Date: Mon, 17 May 2021 00:18:01 +0200 Subject: [PATCH] updated version --- README.md | 2 +- build.gradle.kts | 5 +---- src/dorkbox/serializers/SerializationDefaults.kt | 5 +++++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d8f9164..9d5d0c7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Maven Info com.dorkbox Serializers - 1.1 + 1.2 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 53e9991..c72695d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,7 +38,7 @@ object Extras { // set for the project const val description = "Kryo based serializers" const val group = "com.dorkbox" - const val version = "1.1" + const val version = "1.2" // set as project.ext const val name = "Serializers" @@ -99,15 +99,12 @@ tasks.jar.get().apply { } dependencies { -// implementation("com.dorkbox:MinLog:2.3") - // 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") // 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") - testImplementation("com.esotericsoftware:kryo:5.1.1") testImplementation("org.bouncycastle:bcprov-jdk15on:1.68") testImplementation("junit:junit:4.13.2") diff --git a/src/dorkbox/serializers/SerializationDefaults.kt b/src/dorkbox/serializers/SerializationDefaults.kt index 889b70f..86fd723 100644 --- a/src/dorkbox/serializers/SerializationDefaults.kt +++ b/src/dorkbox/serializers/SerializationDefaults.kt @@ -23,6 +23,11 @@ import java.util.* import java.util.regex.Pattern object SerializationDefaults { + /** + * Gets the version number. + */ + const val version = "1.2" + /** * Allows for the kryo registration of sensible defaults in a common, well-used way. */