diff --git a/build.gradle b/build.gradle index 21a31cf..1a59d26 100644 --- a/build.gradle +++ b/build.gradle @@ -1,28 +1,50 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. +apply plugin: 'com.android.application' -buildscript { - - repositories { - google() - jcenter() +android { + compileSdkVersion 27 + defaultConfig { + applicationId "com.example.hp.signin" + multiDexEnabled = true + minSdkVersion 15 + targetSdkVersion 27 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } - dependencies { - 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 - classpath 'com.google.gms:google-services:4.0.1' } -} - -allprojects { - repositories { - google() - jcenter() - maven{ - url "https://maven.google.com" + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } -task clean(type: Delete) { - delete rootProject.buildDir +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + //noinspection GradleCompatible + implementation 'com.android.support:appcompat-v7:27.0.0' + implementation 'com.android.support:design:27.0.0' + implementation 'com.android.support.constraint:constraint-layout:1.1.3' + implementation 'com.google.firebase:firebase-core:16.0.4' + implementation 'com.google.firebase:firebase-auth:16.0.4' + implementation 'com.google.android.gms:play-services-auth:16.0.1' + implementation 'com.android.support:multidex:1.0.1' + implementation 'com.firebaseui:firebase-ui-firestore:3.0.0' + + implementation 'com.google.firebase:firebase-firestore:17.1.1' + implementation 'com.google.firebase:firebase-storage:16.0.3' + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:cardview-v7:27.0.0' + implementation 'com.android.support:recyclerview-v7:27.0.0' + + implementation('com.github.bumptech.glide:glide:4.8.0') { exclude group: "com.android.support" } + annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'; + + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + + //circular image view + implementation 'de.hdodenhof:circleimageview:2.2.0' } + +apply plugin: 'com.google.gms.google-services'