This Gradle script will generate a changelog.json file from a recent_changes.txt
.
The recent_changes.txt
is a Markdown file where a developer can define the changelog and the Gradle task will convert it to JSON, so that it can be used inside a app or in later Gradle tasks.
The resulting JSON structure can be found in example.changelog.json
.
In addition, the changelog.json is reused for a whatsnew
file that can be uploaded to Google Play using Google Play Publisher.