-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from saasquatch/gradle-dev
0.2.0
- Loading branch information
Showing
262 changed files
with
133,996 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: JavaCI | ||
on: [push, pull_request] | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: "8" | ||
distribution: adopt | ||
- name: Maven Package | ||
run: mvn -B -U clean package -DskipTests | ||
- name: Maven Verify | ||
run: mvn -B -U verify | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
- name: Execute Gradle build | ||
run: ./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Changelog | ||
|
||
## [Unreleased] | ||
|
||
## [0.2.0] - 2023-04-24 | ||
|
||
### Changed | ||
|
||
- Switched to Gradle. | ||
- Added support for JSON Schema draft 2019-09 and 2020-12. | ||
- Internal dependency version bumps. | ||
- Test suite cleanup. | ||
|
||
### Fixed | ||
|
||
- Fixed the `time` format inference in `FormatInferrers.dateTime()` to better adhere to the JSON Schema standard. It is trivial to restore the original behavior with a custom implementation of `FormatInferrer`. | ||
|
||
## [0.1.5] - 2022-03-10 | ||
|
||
### Changed | ||
|
||
- Switched to Maven Wrapper. | ||
- Internal dependency version bumps. | ||
|
||
## [0.1.4] - 2021-07-21 | ||
|
||
## [0.1.3] - 2021-05-21 | ||
|
||
### Changed | ||
|
||
- Internal dependency version bumps. | ||
|
||
### Fixed | ||
|
||
- Fixed errors when building for JDK 11 and 12. See [#6](https://github.com/saasquatch/json-schema-inferrer/pull/6). | ||
|
||
## [0.1.2] - 2020-03-12 | ||
|
||
### Changed | ||
|
||
- Internal dependency version bumps. | ||
|
||
## [0.1.1] - 2020-02-27 | ||
|
||
[Unreleased]: https://github.com/saasquatch/json-schema-inferrer/compare/0.2.0...HEAD | ||
|
||
[0.0.6]: https://github.com/saasquatch/json-schema-inferrer/compare/0.1.5...0.2.0 | ||
|
||
[0.0.5]: https://github.com/saasquatch/json-schema-inferrer/compare/0.1.4...0.1.5 | ||
|
||
[0.0.4]: https://github.com/saasquatch/json-schema-inferrer/compare/0.1.3...0.1.4 | ||
|
||
[0.0.3]: https://github.com/saasquatch/json-schema-inferrer/compare/0.1.2...0.1.3 | ||
|
||
[0.0.2]: https://github.com/saasquatch/json-schema-inferrer/compare/0.1.1...0.1.2 | ||
|
||
[0.0.1]: https://github.com/saasquatch/json-schema-inferrer/releases/tag/0.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
plugins { | ||
id 'java-library' | ||
} | ||
|
||
group = 'com.saasquatch' | ||
version = '1.0-SNAPSHOT' | ||
|
||
java { | ||
registerFeature('builtInFormatInferrerSupport') { | ||
usingSourceSet(sourceSets.main) | ||
} | ||
} | ||
|
||
tasks.compileJava.options.encoding = 'UTF-8' | ||
tasks.compileTestJava.options.encoding = 'UTF-8' | ||
tasks.javadoc.options.encoding = 'UTF-8' | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
testImplementation platform('org.junit:junit-bom:5.9.2') | ||
testImplementation 'org.junit.jupiter:junit-jupiter' | ||
implementation 'com.google.code.findbugs:jsr305:3.0.2' | ||
api 'com.fasterxml.jackson.core:jackson-databind:2.15.0' | ||
builtInFormatInferrerSupportImplementation 'commons-validator:commons-validator:1.7' | ||
testImplementation 'com.networknt:json-schema-validator:1.0.80' | ||
testImplementation 'com.google.guava:guava:31.1-jre' | ||
} | ||
|
||
tasks.test { | ||
useJUnitPlatform() | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.