Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Gradle, Android Gradle Plugin, and Dependency Version Updates #15

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions XYZReader/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.android.tools.build:gradle:3.1.3'
}
}
apply plugin: 'com.android.application'
Expand All @@ -14,7 +15,7 @@ repositories {

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
buildToolsVersion '27.0.3'

defaultConfig {
minSdkVersion 19
Expand All @@ -23,12 +24,12 @@ android {
}

dependencies {
compile "com.android.support:support-v4:$androidSupportVersion"
compile "com.android.support:support-v13:$androidSupportVersion"
compile "com.android.support:appcompat-v7:$androidSupportVersion"
compile "com.android.support:palette-v7:$androidSupportVersion"
compile "com.android.support:recyclerview-v7:$androidSupportVersion"
compile "com.android.support:cardview-v7:$androidSupportVersion"
compile 'com.squareup.okhttp3:okhttp:3.1.2'
compile files('libs/volley.jar')
implementation "com.android.support:support-v4:$androidSupportVersion"
implementation "com.android.support:support-v13:$androidSupportVersion"
implementation "com.android.support:appcompat-v7:$androidSupportVersion"
implementation "com.android.support:palette-v7:$androidSupportVersion"
implementation "com.android.support:recyclerview-v7:$androidSupportVersion"
implementation "com.android.support:cardview-v7:$androidSupportVersion"
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation files('libs/volley.jar')
}
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:3.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,10 +20,14 @@ buildscript {
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}

ext {
androidSupportVersion = "25.3.0"
androidSupportVersion = "25.4.0"

}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Mar 26 16:58:07 PDT 2017
#Thu Jun 21 12:56:18 CDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip