Skip to content

Commit

Permalink
gradle upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
REBOOTERS committed Aug 22, 2019
1 parent 4aa33ea commit aea8c3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.novoda:bintray-release:0.9.1'
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Jul 17 15:10:27 CST 2019
#Thu Aug 22 11:37:43 CST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
dependencies {
implementation project(':matisse')

// implementation 'com.zhihu.android:matisse:0.5.1-beta1'
// implementation 'com.zhihu.android:matisse:0.5.2'
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation "androidx.appcompat:appcompat:1.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void onNext(Boolean aBoolean) {
switch (v.getId()) {
case R.id.zhihu:
Matisse.from(SampleActivity.this)
.choose(MimeType.ofAll(), false)
.choose(MimeType.ofImage(), false)
.countable(true)
.capture(true)
.captureStrategy(
Expand All @@ -101,6 +101,7 @@ public void onSelected(

}
})
.showSingleMediaType(true)
.originalEnable(true)
.maxOriginalSize(10)
.autoHideToolbarOnSingleTap(true)
Expand Down

0 comments on commit aea8c3f

Please sign in to comment.