disabled travis cache

This commit is contained in:
Mariotaku Lee 2017-03-02 22:27:56 +08:00
parent 8ca63c2073
commit 7f380541e8
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
2 changed files with 9 additions and 9 deletions

View File

@ -47,14 +47,14 @@ addons:
- openssh-client
- git
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2/
#before_cache:
# - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
# - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
#cache:
# directories:
# - $HOME/.gradle/caches/
# - $HOME/.gradle/wrapper/
# - $HOME/.m2/
before_install:
- openssl aes-256-cbc -K $encrypted_9b8203f9524d_key -iv $encrypted_9b8203f9524d_iv -in travis/configs/twidere_private_config.tar.gz.enc -out travis/configs/twidere_private_config.tar.gz -d

View File

@ -30,7 +30,7 @@ class SelectableUserViewHolder(
itemView: View,
adapter: SelectableUsersAdapter
) : SimpleUserViewHolder<SelectableUsersAdapter>(itemView, adapter) {
private val checkChangedListener = CompoundButton.OnCheckedChangeListener { view, value ->
private val checkChangedListener = CompoundButton.OnCheckedChangeListener { _, value ->
adapter.setItemChecked(layoutPosition, value)
}