Update gradle from version 3.3 to 4.4

This commit is contained in:
Adam Baker 2018-06-20 14:52:16 +01:00
parent 4e3dc8980b
commit b27be9ee66
2 changed files with 21 additions and 13 deletions

View file

@ -1,10 +1,15 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.alexvasilkov:android_sign:0.2' classpath 'com.alexvasilkov:android_sign:0.2'
} }
} }
@ -17,22 +22,25 @@ repositories {
maven { maven {
url "http://4thline.org/m2" url "http://4thline.org/m2"
} }
maven {
url 'https://maven.google.com/'
name 'Google'
}
} }
dependencies { dependencies {
compile 'com.android.support:appcompat-v7:19.1.+' implementation 'com.android.support:appcompat-v7:21.0.3'
compile 'com.android.support:mediarouter-v7:19.1.+' implementation 'com.android.support:mediarouter-v7:21.0.3'
compile 'org.fourthline.cling:cling-core:2.1.1' implementation 'org.fourthline.cling:cling-core:2.1.1'
compile 'org.fourthline.cling:cling-support:2.1.1' implementation 'org.fourthline.cling:cling-support:2.1.1'
compile 'org.eclipse.jetty:jetty-server:8.1.8.v20121106' implementation 'org.eclipse.jetty:jetty-server:8.1.8.v20121106'
compile 'org.eclipse.jetty:jetty-servlet:8.1.8.v20121106' implementation 'org.eclipse.jetty:jetty-servlet:8.1.8.v20121106'
compile 'org.eclipse.jetty:jetty-client:8.1.8.v20121106' implementation 'org.eclipse.jetty:jetty-client:8.1.8.v20121106'
compile 'org.slf4j:slf4j-jdk14:1.6.1' implementation 'org.slf4j:slf4j-jdk14:1.6.1'
} }
android { android {
compileSdkVersion 19 compileSdkVersion 21
buildToolsVersion '25.0.0'
// Caused by cling, because they apparently include APIs for other platforms. // Caused by cling, because they apparently include APIs for other platforms.
lintOptions { lintOptions {

View file

@ -1,6 +1,6 @@
#Sun Jun 11 12:46:47 BST 2017 #Wed Jun 20 13:13:49 BST 2018
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip