diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-19 20:09:09 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-19 20:09:09 -0700 |
commit | ab9971d08183795bb53a52c10e778672735e9c9f (patch) | |
tree | 5a177d5cbed1e5f938f3a65d8ece7fe76d6f4343 | |
parent | 34f08f591900ee00d15b748e5ecf07252fac19a5 (diff) | |
download | kau-ab9971d08183795bb53a52c10e778672735e9c9f.tar.gz kau-ab9971d08183795bb53a52c10e778672735e9c9f.tar.bz2 kau-ab9971d08183795bb53a52c10e778672735e9c9f.zip |
Add changelogs
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.gradle | 18 | ||||
-rw-r--r-- | docs/Changelog.md | 15 |
3 files changed, 35 insertions, 0 deletions
@@ -6,6 +6,8 @@ Kotlin Android Utils This library contains small helper functions used throughout almost all of my other projects. The goal is to make common interactions executable in a single line. +[Changelog](https://github.com/AllanWang/KAU/tree/master/docs/Changelog.md) + ------------ KAU is available on JitPack diff --git a/build.gradle b/build.gradle index b0476be..aa426e1 100644 --- a/build.gradle +++ b/build.gradle @@ -27,3 +27,21 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir } + +task generateChangelogMd() { + def parsedProjectXml = (new XmlParser()).parse("$project.rootDir/sample/src/main/res/xml/changelog.xml") + def sw = new StringWriter() + sw.append("# Changelog\n") + parsedProjectXml.depthFirst().each { + switch (it.name()) { + case "version": + sw.append("\n## ${it.@title}\n") + break + case "item": + if (it.@text?.trim()) + sw.append("* ${it.@text}\n") + } + } + def changelogMd = new File("$project.rootDir/docs/Changelog.md") + changelogMd.write(sw.toString()) +}
\ No newline at end of file diff --git a/docs/Changelog.md b/docs/Changelog.md new file mode 100644 index 0000000..682d0ea --- /dev/null +++ b/docs/Changelog.md @@ -0,0 +1,15 @@ +# Changelog + +## v0.2 +* Created kprefs +* Created kpref items +* Attached source files +* Created color dialog +* Added more utilities +* Fixed stack clearing when starting activity + +## v0.1 +* Initial Changelog +* Created many extension functions +* Ported changelog builer +* Ported ripple canvas |