Skip to content

Commit

Permalink
Updated dependencies with latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wahibhaq committed Oct 20, 2018
1 parent 7c0b33e commit cfb0ef3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle
Expand Up @@ -7,11 +7,11 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 27
compileSdkVersion 28
defaultConfig {
applicationId "com.wahibhaq.locationservicelivedata"
minSdkVersion 21
targetSdkVersion 27
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -29,15 +29,15 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.android.support:support-v4:$supportlib"
implementation "com.android.support:appcompat-v7:$supportlib"
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation "com.android.support.constraint:constraint-layout:$constraint_layout"
implementation "android.arch.lifecycle:runtime:$aac_lifecycle"
implementation "android.arch.lifecycle:extensions:$aac_lifecycle"
kapt "android.arch.lifecycle:compiler:$aac_lifecycle"
debugImplementation "com.jakewharton.timber:timber:$timber"
implementation "com.google.android.gms:play-services-location:$play_services"
implementation 'com.nabinbhandari.android:permissions:3.6'
implementation "com.nabinbhandari.android:permissions:$permissions"

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
testImplementation "junit:junit:$junit"
androidTestImplementation "com.android.support.test:runner:$test_runner"
androidTestImplementation "com.android.support.test.espresso:espresso-core:$test_espresso_core"
}
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Expand Up @@ -4,7 +4,7 @@

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-feature android:name="android.hardware.location.gps" />

<application
Expand Down
16 changes: 11 additions & 5 deletions build.gradle
@@ -1,18 +1,24 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.2.50'
ext.kotlin_version = '1.2.71'
ext.android_gradle = '3.2.1'
ext.aac_lifecycle = '1.1.1'
ext.timber = '4.7.0'
ext.play_services = '15.0.1'
ext.supportlib = '27.1.1'
ext.timber = '4.7.1'
ext.play_services = '16.0.0'
ext.supportlib = '28.0.0'
ext.constraint_layout = '1.1.3'
ext.permissions = '3.7'
ext.junit = '4.12'
ext.test_runner = '1.0.2'
ext.test_espresso_core = '3.0.2'

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath "com.android.tools.build:gradle:$android_gradle"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -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-4.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

0 comments on commit cfb0ef3

Please sign in to comment.