Update android gradle plugin to 3.2.1
This commit is contained in:
parent
fed3d1fe33
commit
499b8b47fc
@ -1,10 +1,10 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
|
||||||
google()
|
google()
|
||||||
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.0.1'
|
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -14,8 +14,8 @@ allprojects {
|
|||||||
if (project.hasProperty('LOCAL_MAVEN_URL')) {
|
if (project.hasProperty('LOCAL_MAVEN_URL')) {
|
||||||
maven { url LOCAL_MAVEN_URL }
|
maven { url LOCAL_MAVEN_URL }
|
||||||
}
|
}
|
||||||
jcenter()
|
|
||||||
google()
|
google()
|
||||||
|
jcenter()
|
||||||
}
|
}
|
||||||
version = VERSION_NAME
|
version = VERSION_NAME
|
||||||
group = GROUP
|
group = GROUP
|
||||||
@ -41,7 +41,7 @@ if (hasProperty('local')) {
|
|||||||
ext {
|
ext {
|
||||||
|
|
||||||
config = [
|
config = [
|
||||||
'build-tools' : '27.0.3',
|
'build-tools' : '28.0.3',
|
||||||
'compile-sdk' : 27,
|
'compile-sdk' : 27,
|
||||||
'target-sdk' : 27,
|
'target-sdk' : 27,
|
||||||
'min-sdk' : 16,
|
'min-sdk' : 16,
|
||||||
|
@ -38,7 +38,7 @@ public class DataUriSchemeHandler extends SchemeHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String part = raw.substring(START.length());
|
String part = raw.substring(START.length());
|
||||||
|
|
||||||
// this part is added to support `data://` with which this functionality was released
|
// this part is added to support `data://` with which this functionality was released
|
||||||
if (part.startsWith("//")) {
|
if (part.startsWith("//")) {
|
||||||
part = part.substring(2);
|
part = part.substring(2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user