From 1da1cf5c74a145a96384e480367b418abd8a3e39 Mon Sep 17 00:00:00 2001 From: Lezh1k Date: Thu, 20 Sep 2018 15:55:36 +0600 Subject: [PATCH] Changed gradle files --- app/build.gradle | 9 --------- build.gradle | 7 ++++++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index a65b40a..78059a8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,16 +25,7 @@ android { } } -ext { - supportLibraryVersion = "26.1.0" -} - dependencies { - api "com.android.support:appcompat-v7:${supportLibraryVersion}" - api "com.android.support:support-v4:${supportLibraryVersion}" - api "com.android.support:design:${supportLibraryVersion}" - api "com.android.support:recyclerview-v7:${supportLibraryVersion}" - implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' diff --git a/build.gradle b/build.gradle index 210d338..edf761d 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,13 @@ buildscript { repositories { + mavenCentral() + maven { + url "https://maven.google.com" + } google() jcenter() - mavenCentral() + } dependencies { classpath 'com.android.tools.build:gradle:3.1.4' @@ -18,6 +22,7 @@ buildscript { allprojects { repositories { + mavenCentral() maven { url "https://maven.google.com" }