Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 74cad92

Browse files
authored
Merge pull request #51 from samtstern/master
Update gradle version, fix exception message
2 parents 3046f1c + e0dba22 commit 74cad92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.1.3'
8+
classpath 'com.android.tools.build:gradle:2.2.1'
99

10-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
10+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1111
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
1212
}
1313
}

easypermissions/src/main/java/pub/devrel/easypermissions/EasyPermissions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private static void runAnnotatedMethods(Object object, int requestCode) {
294294
// Method must be void so that we can invoke it
295295
if (method.getParameterTypes().length > 0) {
296296
throw new RuntimeException(
297-
"Cannot execute non-void method " + method.getName());
297+
"Cannot execute method " + method.getName() + " because it is non-void method and/or has input parameters.");
298298
}
299299

300300
try {

0 commit comments

Comments
 (0)