File tree 3 files changed +8
-5
lines changed 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,10 @@ allprojects {
114
114
>
115
115
116
116
### 自定义主题颜色,同步App主题
117
+ ### 自定义FileProvider地址
117
118
``` java
119
+ // 自定义FileProvider地址(同一地址一部手机唯一)
120
+ PhotoPick . setAuthority(getString(R . string. file_provider_authorities));
118
121
在Application 里初始化PhotoPick
119
122
// 默认颜色:橘色android.R.color.holo_red_light
120
123
PhotoPick . init(getApplicationContext());
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
7
7
jcenter()
8
8
}
9
9
dependencies {
10
- classpath ' com.android.tools.build:gradle:3.0.1 '
10
+ classpath ' com.android.tools.build:gradle:3.1.3 '
11
11
classpath ' com.github.dcendents:android-maven-gradle-plugin:2.0' // Add this line
12
12
13
13
@@ -25,9 +25,9 @@ allprojects {
25
25
}
26
26
27
27
ext {
28
- sdkVersion = 26
29
- buildToolsVersion = ' 26 .0.2 '
30
- supportLibVersion = ' 26 .1.0'
28
+ sdkVersion = 27
29
+ buildToolsVersion = ' 27 .0.3 '
30
+ supportLibVersion = ' 27 .1.0'
31
31
}
32
32
33
33
task clean (type : Delete ) {
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.4 -all.zip
You can’t perform that action at this time.
0 commit comments