Skip to content

Commit 4b87cde

Browse files
Update Gradle and Android Gradle plugin for latest JDK support
1 parent 3d56539 commit 4b87cde

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

android-database-sqlcipher/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ apply from: "maven.gradle"
55
android {
66

77
compileSdkVersion 26
8-
buildToolsVersion "26.0.1"
98

109
defaultConfig {
1110
versionName "${clientVersionNumber}"
@@ -37,8 +36,8 @@ android {
3736
variant.outputs.each { output ->
3837
def outputFile = output.outputFile
3938
if (outputFile != null && outputFile.name.endsWith(".aar")) {
40-
def fileName = "${archivesBaseName}-${clientVersionNumber}.aar"
41-
output.outputFile = new File(outputFile.parent, fileName)
39+
def versionFileName = "${archivesBaseName}-${clientVersionNumber}.aar"
40+
output.outputFileName = versionFileName
4241
}
4342
}
4443
}

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22

33
buildscript {
44
repositories {
5+
google()
56
jcenter()
67
}
78
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.3.3'
9+
classpath 'com.android.tools.build:gradle:3.2.0'
910
}
1011
}
1112

1213
allprojects {
1314
repositories {
15+
google()
1416
jcenter()
1517
}
1618
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip

0 commit comments

Comments
 (0)