diff --git a/app/build.gradle b/app/build.gradle index f11dbd36..01ae2dd0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,4 @@ apply plugin: 'com.android.application' -apply plugin: 'android-apt' android { compileSdkVersion 25 @@ -21,20 +20,23 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + implementation fileTree(dir: 'libs', include: ['*.jar']) + androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.1.0' - testCompile 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:25.1.0' + testImplementation 'junit:junit:4.12' // RecyclerView - compile 'com.android.support:recyclerview-v7:25.1.0' + implementation 'com.android.support:recyclerview-v7:25.1.0' // Schematic dependencies for ContentProvider - apt 'net.simonvt.schematic:schematic-compiler:0.6.3' - compile 'net.simonvt.schematic:schematic:0.6.3' + annotationProcessor 'net.simonvt.schematic:schematic-compiler:0.6.3' + implementation 'net.simonvt.schematic:schematic:0.6.3' // Preferences Dependencies - compile 'com.android.support:preference-v7:25.1.0' + implementation 'com.android.support:preference-v7:25.1.0' + + // Firebase dependency + implementation 'com.google.firebase:firebase-messaging:10.0.1' } diff --git a/build.gradle b/build.gradle index 9a4175d6..fc345975 100644 --- a/build.gradle +++ b/build.gradle @@ -2,11 +2,11 @@ buildscript { repositories { - jcenter() + google() + mavenCentral() } dependencies { - classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2' - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:7.0.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -16,7 +16,8 @@ buildscript { allprojects { repositories { - jcenter() + google() + mavenCentral() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 04e285f3..f3bd5913 100644 --- 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-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip