updated version

This commit is contained in:
Robinson 2021-05-17 00:18:01 +02:00
parent b69f8800ee
commit d2b049c1ad
3 changed files with 7 additions and 5 deletions

View File

@ -11,7 +11,7 @@ Maven Info
<dependency> <dependency>
<groupId>com.dorkbox</groupId> <groupId>com.dorkbox</groupId>
<artifactId>Serializers</artifactId> <artifactId>Serializers</artifactId>
<version>1.1</version> <version>1.2</version>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```

View File

@ -38,7 +38,7 @@ object Extras {
// set for the project // set for the project
const val description = "Kryo based serializers" const val description = "Kryo based serializers"
const val group = "com.dorkbox" const val group = "com.dorkbox"
const val version = "1.1" const val version = "1.2"
// set as project.ext // set as project.ext
const val name = "Serializers" const val name = "Serializers"
@ -99,15 +99,12 @@ tasks.jar.get().apply {
} }
dependencies { 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.** // 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") 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.** // 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") compileOnly("org.bouncycastle:bcprov-jdk15on:1.68")
testImplementation("com.esotericsoftware:kryo:5.1.1") testImplementation("com.esotericsoftware:kryo:5.1.1")
testImplementation("org.bouncycastle:bcprov-jdk15on:1.68") testImplementation("org.bouncycastle:bcprov-jdk15on:1.68")
testImplementation("junit:junit:4.13.2") testImplementation("junit:junit:4.13.2")

View File

@ -23,6 +23,11 @@ import java.util.*
import java.util.regex.Pattern import java.util.regex.Pattern
object SerializationDefaults { 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. * Allows for the kryo registration of sensible defaults in a common, well-used way.
*/ */