Ver código fonte

提交1.1.8,优化回调方法

kth_win_android 2 anos atrás
pai
commit
d283462dbc
2 arquivos alterados com 6 adições e 9 exclusões
  1. 2 2
      README.md
  2. 4 7
      permissionlib/build.gradle

+ 2 - 2
README.md

@@ -29,7 +29,7 @@ dependencyResolutionManagement {
 ### 在需要权限请求模块下的 build.gradle 文件中加入远程依赖
 
 ~~~
-implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.7'
+implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.8'
 ~~~
 
 ### 使用
@@ -61,7 +61,7 @@ implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.7'
 
 ### 版本更新
 
-* 2022-11-25更新(1.1.7) 优化回调方法
+* 2022-11-25更新(1.1.8) 优化回调方法
 * 2022-08-31更新(1.1.6) 修改方法,去除多余方法及多余配置项,添加默认dialog配置,优化跳转设置页设置权限后返回权限请求结果无反应,适配android11所有文件访问权限
 * 2021-08-27更新(1.1.4) 删除kotlin版本,升级gradle版本,修改maven地址
 * 2021-03-23更新(1.1.3) 添加kotlin版1.1.3版本

+ 4 - 7
permissionlib/build.gradle

@@ -27,13 +27,10 @@ android {
 }
 
 dependencies {
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
-
-    implementation 'androidx.appcompat:appcompat:1.4.1'
-    testImplementation 'junit:junit:4.13.2'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
-    implementation "androidx.core:core-ktx:1.7.0"
+    implementation 'androidx.appcompat:appcompat:1.2.0'
+    testImplementation 'junit:junit:4.13'
+    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
 }
 afterEvaluate {
     // 排除 BuildConfig.class 和 R.class