diff --git a/app/build.gradle b/app/build.gradle index acfe090..093c5f0 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 + compileSdkVersion 32 defaultConfig { applicationId "com.android.iunoob.bloodbank" - minSdkVersion 17 - targetSdkVersion 28 + minSdkVersion 21 + targetSdkVersion 32 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -24,19 +24,23 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) + //noinspection GradleCompatible + implementation 'com.google.firebase:firebase-auth:21.0.5' + //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:28.0.0' + //noinspection GradleCompatible implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'android.arch.lifecycle:extensions:1.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.3' + //noinspection GradleCompatible implementation 'com.android.support:design:28.0.0' testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.androidx.support.test:runner:1.4.0' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' - implementation 'com.google.firebase:firebase-core:16.0.4' - implementation 'com.google.firebase:firebase-database:16.0.3' - implementation 'com.google.firebase:firebase-auth:16.0.5' + implementation 'com.google.firebase:firebase-core:21.0.0' + implementation 'com.google.firebase:firebase-database:20.0.5' implementation 'com.android.support:multidex:1.0.3' implementation 'com.google.android.gms:play-services-maps:16.0.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b3def87..f619a25 100755 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ diff --git a/app/src/main/java/com/android/iunoob/bloodbank/activities/Dashboard.java b/app/src/main/java/com/android/iunoob/bloodbank/activities/Dashboard.java index 38f1b3c..eef1ab0 100755 --- a/app/src/main/java/com/android/iunoob/bloodbank/activities/Dashboard.java +++ b/app/src/main/java/com/android/iunoob/bloodbank/activities/Dashboard.java @@ -4,13 +4,17 @@ import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; + import android.support.design.widget.FloatingActionButton; -import android.support.v4.app.Fragment; -import android.util.Log; -import android.view.View; import android.support.design.widget.NavigationView; +import android.support.v4.app.Fragment; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; +import android.util.Log; +import android.view.View; +import android.support.v4.*; +import android.support.design.*; + import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; diff --git a/app/src/main/java/com/android/iunoob/bloodbank/activities/LoginActivity.java b/app/src/main/java/com/android/iunoob/bloodbank/activities/LoginActivity.java index b5b475f..2c3d6b4 100755 --- a/app/src/main/java/com/android/iunoob/bloodbank/activities/LoginActivity.java +++ b/app/src/main/java/com/android/iunoob/bloodbank/activities/LoginActivity.java @@ -2,9 +2,9 @@ import android.app.ProgressDialog; import android.content.Intent; +import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; -import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; diff --git a/build.gradle b/build.gradle index 3623e75..f7af164 100755 --- a/build.gradle +++ b/build.gradle @@ -7,8 +7,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.2.1' - classpath 'com.google.gms:google-services:4.1.0' + classpath 'com.android.tools.build:gradle:7.1.3' + classpath 'com.google.gms:google-services:4.3.10' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d2c45a4..b181bfe 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Mon Jun 13 22:44:53 EEST 2022 distributionBase=GRADLE_USER_HOME +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip -zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME