diff --git a/app/build.gradle b/app/build.gradle index aca270e..41b8a9e 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 - buildToolsVersion '26.0.1' + compileSdkVersion 27 + buildToolsVersion '27.0.3' defaultConfig { applicationId "com.example.android.sunshine" minSdkVersion 14 - targetSdkVersion 26 + targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -28,21 +28,16 @@ android { // Versions number variables are defined in the module build.gradle file dependencies { - compile "com.android.support:appcompat-v7:$support_version" - compile "com.android.support:recyclerview-v7:$support_version" - compile "com.android.support:preference-v7:$support_version" - compile "com.android.support.constraint:constraint-layout:$constraint_layout_version" - compile "com.firebase:firebase-jobdispatcher:$firebase_jobdispatcher_version" - compile "android.arch.lifecycle:runtime:$arch_version" - compile "android.arch.lifecycle:extensions:$arch_version" - annotationProcessor "android.arch.lifecycle:compiler:$arch_version" - compile "android.arch.persistence.room:runtime:$arch_version" - annotationProcessor "android.arch.persistence.room:compiler:$arch_version" + implementation "com.android.support:appcompat-v7:$support_version" + implementation "com.android.support:recyclerview-v7:$support_version" + implementation "com.android.support:preference-v7:$support_version" + implementation "com.android.support.constraint:constraint-layout:$constraint_layout_version" + implementation "com.firebase:firebase-jobdispatcher:$firebase_jobdispatcher_version" // Instrumentation dependencies use androidTestCompile" // (as opposed to testCompile for local unit tests run in the JVM" - androidTestCompile "junit:junit:$junit_version" - androidTestCompile "com.android.support:support-annotations:$support_version" - androidTestCompile "com.android.support.test:runner:$support_test_version" - androidTestCompile "com.android.support.test:rules:$support_test_version" + androidTestImplementation "junit:junit:$junit_version" + androidTestImplementation "com.android.support:support-annotations:$support_version" + androidTestImplementation "com.android.support.test:runner:$support_test_version" + androidTestImplementation "com.android.support.test:rules:$support_test_version" } diff --git a/build.gradle b/build.gradle index e773608..b4b77fb 100755 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.0-beta2' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -14,8 +14,8 @@ buildscript { } ext.arch_version = "1.0.0-alpha8" -ext.support_version = "26.0.1" -ext.constraint_layout_version = "1.1.0-beta1" +ext.support_version = "27.1.1" +ext.constraint_layout_version = "1.1.2" ext.firebase_jobdispatcher_version = "0.7.0" ext.junit_version = "4.12" ext.support_test_version = "1.0.0" @@ -24,6 +24,7 @@ allprojects { repositories { jcenter() maven { url 'https://maven.google.com' } + google() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c8d55e4..9e38b3d 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip