bump deps, add configs for GsonHolders
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
1e45cd9bc2
commit
aad0aca9a2
|
@ -1,5 +1,5 @@
|
||||||
group = "io.gitlab.jfronny.gson"
|
group = "io.gitlab.jfronny.gson"
|
||||||
version = "1.3-SNAPSHOT"
|
version = "1.4-SNAPSHOT"
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
group = rootProject.group
|
group = rootProject.group
|
||||||
|
|
|
@ -9,8 +9,8 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("io.gitlab.jfronny:commons:1.2-SNAPSHOT")
|
implementation("io.gitlab.jfronny:commons:1.4-SNAPSHOT")
|
||||||
api("io.gitlab.jfronny:commons-gson:1.2-SNAPSHOT")
|
api("io.gitlab.jfronny:commons-gson:1.4-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
package io.gitlab.jfronny.gson.compile.core;
|
||||||
|
|
||||||
|
import io.gitlab.jfronny.commons.serialize.gson.api.v2.GsonHolders;
|
||||||
|
import io.gitlab.jfronny.gson.stream.JsonReader;
|
||||||
|
import io.gitlab.jfronny.gson.stream.JsonWriter;
|
||||||
|
|
||||||
|
public class DefaultConfiguration {
|
||||||
|
public static class Api {
|
||||||
|
public static void configure(JsonWriter writer) {
|
||||||
|
GsonHolders.API.getGson().configure(writer);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void configure(JsonReader reader) {
|
||||||
|
GsonHolders.API.getGson().configure(reader);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Config {
|
||||||
|
public static void configure(JsonWriter writer) {
|
||||||
|
GsonHolders.CONFIG.getGson().configure(writer);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void configure(JsonReader reader) {
|
||||||
|
GsonHolders.CONFIG.getGson().configure(reader);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -10,7 +10,7 @@ repositories {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.jetbrains:annotations:24.0.0")
|
implementation("org.jetbrains:annotations:24.0.0")
|
||||||
implementation("io.gitlab.jfronny:commons:1.2-SNAPSHOT")
|
implementation("io.gitlab.jfronny:commons:1.4-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
|
@ -12,7 +12,7 @@ dependencies {
|
||||||
implementation(project(":gson-compile-processor-core"))
|
implementation(project(":gson-compile-processor-core"))
|
||||||
implementation(project(":gson-compile-annotations"))
|
implementation(project(":gson-compile-annotations"))
|
||||||
implementation("org.jetbrains:annotations:24.0.0")
|
implementation("org.jetbrains:annotations:24.0.0")
|
||||||
implementation("io.gitlab.jfronny:commons:1.2-SNAPSHOT")
|
implementation("io.gitlab.jfronny:commons:1.4-SNAPSHOT")
|
||||||
implementation("com.squareup:javapoet:1.13.0")
|
implementation("com.squareup:javapoet:1.13.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ pluginManagement {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
id("jf.maven-publish") version "1.3-SNAPSHOT"
|
id("jf.maven-publish") version "1.5-SNAPSHOT"
|
||||||
id("jf.manifold") version "1.3-SNAPSHOT"
|
id("jf.manifold") version "1.5-SNAPSHOT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue