diff --git a/.gitignore b/.gitignore index 3bdf763c..e9de1002 100644 --- a/.gitignore +++ b/.gitignore @@ -81,7 +81,7 @@ out/ # Gradle files .gradle/ -build/ + # Local configuration file (sdk path, etc) local.properties @@ -98,8 +98,7 @@ proguard/ # Android Studio captures folder captures/ -# Intellij -*.iml + # Keystore files *.jks @@ -119,11 +118,8 @@ gen-external-apklibs # Mobile Tools for Java (J2ME) .mtj.tmp/ -# Package Files # -*.jar -*.war -*.ear +!gradle-wrapper.jar # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* diff --git a/app/build.gradle b/app/build.gradle index c418138d..62a1f72c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { applicationId "com.example.android.teatime" minSdkVersion 16 - targetSdkVersion 25 + targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -20,17 +20,23 @@ android { } dependencies { - compile 'com.android.support:design:25.1.0' - compile 'com.android.support:support-annotations:25.1.0' - compile 'com.google.android.gms:play-services-appindexing:9.8.0' - compile 'com.android.support.test.espresso:espresso-idling-resource:2.2.2' + implementation ('com.android.support:design:28.0.0'){ + exclude module: 'support-v4' + } + implementation 'com.android.support:support-annotations:28.0.0' + implementation 'com.google.android.gms:play-services-appindexing:9.8.0' + implementation 'com.android.support.test.espresso:espresso-idling-resource:3.0.2' // Testing-only dependencies - androidTestCompile 'com.android.support:support-annotations:25.1.0' - androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' - androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2' - androidTestCompile 'com.android.support.test:rules:0.5' - androidTestCompile 'com.android.support.test:runner:0.5' + androidTestImplementation 'com.android.support:support-annotations:28.0.0' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2' + androidTestImplementation ('com.android.support.test:rules:1.0.2'){ + exclude module: 'support-v4' + } + androidTestImplementation ('com.android.support.test:runner:1.0.2'){ + exclude module: 'support-v4' + } } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 74b2ab0d..0620783c 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,13 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -14,7 +18,13 @@ buildscript { allprojects { repositories { + + maven { + url 'https://maven.google.com/' + name 'Google' + } jcenter() + } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 04e285f3..e2c46ad7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Dec 28 10:00:20 PST 2015 +#Fri Oct 26 22:38:53 EET 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip