Commit 55b83c2a authored by Shivam Arora's avatar Shivam Arora Committed by John David Taylor

Fixed the build errors. (#187)

Now the project builds successfully.
Fixes #186.
parent fb10601b
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 24
buildToolsVersion "23.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.2"
flavorDimensions "default"
defaultConfig {
applicationId "com.google.android.stardroid"
minSdkVersion 15
......@@ -72,10 +72,10 @@ dependencies {
compile 'com.google.guava:guava:19.0'
gmsCompile 'com.google.android.gms:play-services-analytics:8.4.0'
gmsCompile 'com.google.android.gms:play-services-location:8.4.0'
compile "com.android.support:support-v4:24.0.0"
compile "com.android.support:support-v4:26.1.0"
compile 'com.google.dagger:dagger:2.0.2'
provided 'javax.annotation:jsr250-api:1.0' // For annotations not in Android but needed by Dagger
apt 'com.google.dagger:dagger-compiler:2.0.2'
annotationProcessor 'com.google.dagger:dagger-compiler:2.0.2'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'org.robolectric:robolectric:3.0'
......
......@@ -2,11 +2,12 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.android.tools.build:gradle:3.0.1'
// Specified as going here by the Analytics instructions.
classpath 'com.google.gms:google-services:2.0.0-alpha6'
......@@ -21,6 +22,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
}
}
......
#Sat Sep 24 22:58:15 EDT 2016
#Sun Mar 04 00:02:24 IST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'distribution'
dependencies {
compile project(':app')
compile 'com.google.guava:guava:19.0'
compile project(path: ':app',configuration:'default')
compile 'com.google.guava:guava:21.0'
// TODO(jontayler): Terrible hack that should go when we revamp the tools.
compile files('../app/build/intermediates/classes/gms/release/')
compile fileTree(include: ['*.jar'], dir: 'libs')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment