Skip to content

Commit 1d36d42

Browse files
committed
bug fix
1 parent bfd06bf commit 1d36d42

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525

2626
dependencies {
2727
implementation fileTree(include: ['*.jar'], dir: 'libs')
28-
testImplementation 'junit:junit:4.12'
28+
testImplementation 'junit:junit:4.13'
2929
implementation project(':library')
3030
implementation 'androidx.appcompat:appcompat:1.1.0'
3131
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.50'
4+
ext.kotlin_version = '1.3.61'
55
repositories {
66
jcenter()
77
google()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.5.2'
10+
classpath 'com.android.tools.build:gradle:3.5.3'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1212

1313
// NOTE: Do not place your application dependencies here; they belong

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ POM_DEVELOPER_NAME=sunwei
2121
POM_LICENCE_URL=http\://www.apache.org/licenses/LICENSE-2.0.txt
2222
POM_DESCRIPTION=Android image file selector
2323
POM_LICENCE_NAME=The Apache Software License, Version 2.0
24-
VERSION_NAME=1.0.17-SNAPSHOT
25-
VERSION_CODE=20
24+
VERSION_NAME=1.0.18-SNAPSHOT
25+
VERSION_CODE=21
2626
POM_SCM_DEV_CONNECTION=scm\:https\://github.com/sw926/ImageFileSelector.git
2727
POM_URL=https\://github.com/sw926/ImageFileSelector
2828
POM_SCM_CONNECTION=scm\:https\://github.com/sw926/ImageFileSelector.git

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ android {
2727

2828
dependencies {
2929
implementation fileTree(include: ['*.jar'], dir: 'libs')
30-
testImplementation 'junit:junit:4.12'
31-
compileOnly 'androidx.fragment:fragment:1.1.0'
30+
testImplementation 'junit:junit:4.13'
31+
compileOnly 'androidx.fragment:fragment:1.2.1'
3232
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3333
}
3434
//https://raw.githubusercontent.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle

library/src/main/java/com/sw926/imagefileselector/ImagePickHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ImagePickHelper(private val mContext: Context) {
2929

3030
private val mPermissionsHelper = PermissionsHelper()
3131

32-
private val mPermissionCallback = { isGranted: Boolean ->
32+
private val mPermissionCallback: (Boolean) -> Unit = { isGranted: Boolean ->
3333
if (isGranted) {
3434
startSelect()
3535
} else {

0 commit comments

Comments
 (0)