Skip to content

Commit

Permalink
Merge pull request #22 from jmatsu/tweakReadme
Browse files Browse the repository at this point in the history
Prepare for 0.3
  • Loading branch information
jmatsu authored Apr 7, 2020
2 parents 3c42b9c + 1f8bdc1 commit ff02063
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.3 (2020/04/07)

- Fixed missing `</body>` in the html template
- Fixed unintended *wider* html page had been generated
- Raise the error in advance when the file of license-tools-plugin is not found

## Version 0.2 (2020/04/07)

- Fixed assembly/visualization options caused missing property errors in Groovy code
Expand Down
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ plugins {
}

licenseTools {
licensesYaml = ... // this propery is supported
licensesYaml = ... // this property is supported
ignoreGroups = [...] // this property is also supported
}

Expand Down Expand Up @@ -334,7 +334,33 @@ Please check the original `ftl` file for variables that you can use.

### Render Json

The schema of json objects are defined in `schema` module published to jcetner. You can chose any serialization method, custom attribute transformation, and so on.
You can generate resources in json format.

```kotlin
licenseList {
variants {
freeRelease {
visualization {
format = "json"
}
}
}
}
```

The schema of the json resources are defined in `schema` module, which is published to jcenter.

```kotlin
repositories {
jcenter()
}

dependencies {
implementation("io.github.jmatsu:license-list-schema:<version>")
}
```

They are just *interfaces* in pure Kotlin (== Java fully-compatible classes). So you can chose any serialization method, custom attribute transformation, and so on in the both of Java and Kotlin.

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2
0.3

0 comments on commit ff02063

Please sign in to comment.