aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--artifacts.gradle8
-rw-r--r--buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy5
-rw-r--r--docs/Migration.md11
4 files changed, 16 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 721eb72..3dd7449 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,8 @@ env:
- ANDROID_API=28
- EMULATOR_API=24
- ANDROID_BUILD_TOOLS=28.0.3
+git:
+ depth: 500
android:
components:
- tools
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();
diff --git a/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy b/buildSrc/src/main/groovy/ca/allanwang/kau/Versions.groovy
index 55fc646..d767a8a 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
diff --git a/docs/Migration.md b/docs/Migration.md
index fe04270..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.
@@ -11,10 +18,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<String>`
## Deprecate Kotterknife