Skip to content

Commit

Permalink
Add getter for document gson
Browse files Browse the repository at this point in the history
  • Loading branch information
HttxMarco committed Feb 27, 2024
1 parent 3806702 commit d98e329
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ allprojects {


group = "dev.httpmarco"
version = "1.0.20-SNAPSHOT"
version = "1.0.21-SNAPSHOT"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
import com.google.gson.GsonBuilder;
import com.google.gson.TypeAdapter;
import dev.httpmarco.osgon.files.Document;
import lombok.Getter;
import lombok.SneakyThrows;
import lombok.experimental.Accessors;

import java.nio.file.Path;

@Getter
@Accessors(fluent = true)
public class JsonDocument<T> extends Document<T> {

private final Gson gson;
Expand Down

0 comments on commit d98e329

Please sign in to comment.