Skip to content

Commit

Permalink
Update dependencies and icons (#14)
Browse files Browse the repository at this point in the history
* Use kotlin color for sample

* Add play store button

* Update icon

* Update build tools
  • Loading branch information
AllanWang authored Jul 25, 2017
1 parent 6eefe3f commit aaedf98
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android:
components:
- tools
- platform-tools
- build-tools-26.0.0
- build-tools-26.0.1
- android-26
- extra-android-support
- extra-android-m2repository
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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.

<a href='https://play.google.com/store/apps/details?id=ca.allanwang.kau.sample&utm_source=github'><img alt='Get it on Google Play' width="30%" src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a>

[Changelog](docs/Changelog.md)

------------
Expand Down
5 changes: 0 additions & 5 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@ apply from: '../android-lib.gradle'

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'

compile "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN}"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}"

compile "com.android.support:appcompat-v7:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:support-v4:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:support-v13:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:design:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:cardview-v7:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support:animated-vector-drawable:${ANDROID_SUPPORT_LIBS}"
compile "com.android.support.constraint:constraint-layout:${CONSTRAINT_LAYOUT}"

compile "com.mikepenz:iconics-core:${ICONICS}@aar"
Expand Down

This file was deleted.

60 changes: 28 additions & 32 deletions files/images/kau_round.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified files/images/kau_round_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ APP_GROUP=ca.allanwang
CORE_MIN_SDK=19
MIN_SDK=21
TARGET_SDK=26
BUILD_TOOLS=26.0.0
ANDROID_SUPPORT_LIBS=26.0.0-beta2
BUILD_TOOLS=26.0.1
ANDROID_SUPPORT_LIBS=26.0.0

KOTLIN=1.1.3-2
ABOUT_LIBRARIES=5.9.7
Expand All @@ -36,7 +36,7 @@ IICON_GOOGLE=3.0.1.1
MATERIAL_DIALOG=0.9.4.5
RX_ANDROID=2.0.1
RX_BINDING=2.0.0
RX_JAVA=2.1.1
RX_JAVA=2.1.2
RX_KOTLIN=2.1.0
TIMBER=4.5.1

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ca.allanwang.kau.kpref.kpref
*/
object KPrefSample : KPref() {
var textColor: Int by kpref("TEXT_COLOR", Color.WHITE)
var accentColor: Int by kpref("ACCENT_COLOR", 0xffff4081.toInt())
var accentColor: Int by kpref("ACCENT_COLOR", 0xffff8900.toInt())
var bgColor: Int by kpref("BG_COLOR", 0xff303030.toInt())
var check1: Boolean by kpref("check1", true)
var check2: Boolean by kpref("check2", false)
Expand Down
Binary file modified sample/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sample/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sample/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aaedf98

Please sign in to comment.