From fc799370e3aba1797648dd0b68a0f529d018051e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 15:51:57 -0400 Subject: Update travis --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22743c3..3dd7449 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,11 @@ jdk: - oraclejdk8 env: global: - - ANDROID_API=27 + - ANDROID_API=28 - EMULATOR_API=24 - - ANDROID_BUILD_TOOLS=27.0.3 + - ANDROID_BUILD_TOOLS=28.0.3 +git: + depth: 500 android: components: - tools -- cgit v1.2.3 From be1d7bef2299824ebf9f4f6250838c3d215913cd Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 15:52:39 -0400 Subject: Update migration doc --- docs/Migration.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/Migration.md b/docs/Migration.md index fe04270..e112850 100644 --- a/docs/Migration.md +++ b/docs/Migration.md @@ -11,10 +11,6 @@ Along with the update to support Android Studio 3.1, a lot of changes have occur Resource ids can be negatives due to the bit overflow. Instead, `INVALID_ID` has been introduced to signify an unset or invalid id. Methods such as `Context.string(id, fallback)` now check against `INVALID_ID` through equality rather than using an inequality to address this. -* Kotterknife has been deprecated in favour of `kotlin-android-extensions`. See [official docs](https://kotlinlang.org/docs/tutorials/android-plugin.html#view-binding). -* `ProgressAnimator` has been completely rewritten to be an extension of `ValueAnimator`. -This for the most part is not a breaking change, apart from the fact that creating an animator will not start it immediately. -* KPref has been slightly refactored internally. Preferences backed by `StringSet` can now go back to `Set` ## Deprecate Kotterknife @@ -26,6 +22,11 @@ See [official docs](https://kotlinlang.org/docs/tutorials/android-plugin.html#vi KPref has been slightly refactored internally. Preferences backed by `StringSet` can now go back to `Set` +## Update ProgressAnimator + +`ProgressAnimator` has been completely rewritten to be an extension of `ValueAnimator`. +This for the most part is not a breaking change, apart from the fact that creating an animator will not start it immediately. + # v3.6.0 ## startActivity -- cgit v1.2.3 From 81739fa76510003b2acc51822d1e9258ddc8d536 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 15:56:52 -0400 Subject: Move progress animator migration to 4.0.0 --- docs/Migration.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/Migration.md b/docs/Migration.md index e112850..ea30c0d 100644 --- a/docs/Migration.md +++ b/docs/Migration.md @@ -2,6 +2,13 @@ Below are some highlights on major refactoring/breaking changes +# v4.0.0 + +## Update ProgressAnimator + +`ProgressAnimator` has been completely rewritten to be an extension of `ValueAnimator`. +This for the most part is not a breaking change, apart from the fact that creating an animator will not start it immediately. + # v3.8.0 Along with the update to support Android Studio 3.1, a lot of changes have occurred with other dependencies and with lint. @@ -22,11 +29,6 @@ See [official docs](https://kotlinlang.org/docs/tutorials/android-plugin.html#vi KPref has been slightly refactored internally. Preferences backed by `StringSet` can now go back to `Set` -## Update ProgressAnimator - -`ProgressAnimator` has been completely rewritten to be an extension of `ValueAnimator`. -This for the most part is not a breaking change, apart from the fact that creating an animator will not start it immediately. - # v3.6.0 ## startActivity -- cgit v1.2.3 From fdbbe45e1d02a836fc40e919c6c9f13f3e008b71 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 16:05:03 -0400 Subject: Update public xml generator --- artifacts.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artifacts.gradle b/artifacts.gradle index c0c344a..ab291f7 100644 --- a/artifacts.gradle +++ b/artifacts.gradle @@ -31,8 +31,6 @@ artifacts { // We assume resources within res-public are public task generatepublicxml { - println "Generating public XML" - def resDir = project.projectDir.absolutePath + "/src/main/res-public" def publicFolder = file(resDir + "/values") @@ -51,10 +49,12 @@ task generatepublicxml { '**/values/*.xml' ], exclude: '**/public.xml' - ); + ) + + println "Generating public XML: ${project.name}" // Create new public.xml with writer - new File(resDir + "/values/public.xml").withWriter { writer -> + file(resDir + "/values/public.xml").withWriter { writer -> // Create MarkupBuilder with 4 space indent def destXml = new MarkupBuilder(new IndentPrinter(writer, " ", true)); def destXmlMkp = destXml.getMkp(); -- cgit v1.2.3 From 11f0d0fed07806965555490836d564d042c7b3ec Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 16:11:01 -0400 Subject: Update versions --- buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy b/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy index e055c46..49efbe7 100644 --- a/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy +++ b/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy @@ -51,6 +51,7 @@ class Versions { static def playPublishPlugin = '1.2.2' // https://github.com/KeepSafe/dexcount-gradle-plugin/releases - static def dexCountPlugin = '0.8.3' - static def gitVersionPlugin = '0.4.4' + static def dexCountPlugin = '0.8.4' + // https://github.com/gladed/gradle-android-git-version/releases + static def gitVersionPlugin = '0.4.5' } \ No newline at end of file -- cgit v1.2.3