Skip to content

Commit

Permalink
Feature/modularization (#10)
Browse files Browse the repository at this point in the history
* Added jitpack.yml file

* Added module-info file

* Added missing package-info files

* Incremented patch version

* Renamed module
  • Loading branch information
iamdudeman authored Oct 8, 2022
1 parent bd10f50 commit 4a9c51e
Show file tree
Hide file tree
Showing 10 changed files with 44 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 @@ -4,7 +4,7 @@ plugins {
id("maven-publish")
}

version = "2.1.2"
version = "2.1.3"

java {
toolchain {
Expand Down
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk17
12 changes: 12 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* Defines the sola-json API.
*/
module technology.sola.json {
exports technology.sola.json;
exports technology.sola.json.builder;
exports technology.sola.json.exception;
exports technology.sola.json.mapper;
exports technology.sola.json.parser;
exports technology.sola.json.serializer;
exports technology.sola.json.tokenizer;
}
4 changes: 4 additions & 0 deletions src/main/java/technology/sola/json/builder/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides builders for {@link technology.sola.json.JsonArray} and {@link technology.sola.json.JsonObject}.
*/
package technology.sola.json.builder;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides various exceptions for errors that may happen during various sola-json operations.
*/
package technology.sola.json.exception;
4 changes: 4 additions & 0 deletions src/main/java/technology/sola/json/mapper/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides classes for mapping between Java objects and JSON.
*/
package technology.sola.json.mapper;
4 changes: 4 additions & 0 deletions src/main/java/technology/sola/json/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides the core classes for sola-json.
*/
package technology.sola.json;
4 changes: 4 additions & 0 deletions src/main/java/technology/sola/json/parser/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides functionality for parsing JSON utilizing a {@link technology.sola.json.tokenizer.SolaJsonTokenizer}.
*/
package technology.sola.json.parser;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* This package provides functionality for serializing {@link technology.sola.json.JsonElement}, {@link technology.sola.json.JsonObject}
* and {@link technology.sola.json.JsonArray}.
*/
package technology.sola.json.serializer;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* This package provides functionality for tokenizing a JSON string.
*/
package technology.sola.json.tokenizer;

0 comments on commit 4a9c51e

Please sign in to comment.