Skip to content

Commit

Permalink
Merge pull request #1 from yelinaung/general-fix
Browse files Browse the repository at this point in the history
Gradle build fixes
  • Loading branch information
chrisbanes committed Jun 18, 2014
2 parents 1aef4f4 + 505afe0 commit 33560c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions app/build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
classpath 'com.android.tools.build:gradle:0.11.0'
classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.+'
}
Expand All @@ -31,7 +31,7 @@ def versionBuild = 0 // bump for dogfood builds, public betas, etc.

android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
buildToolsVersion "19.1.0"

defaultConfig {
versionCode versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
Expand Down Expand Up @@ -81,6 +81,8 @@ android {
dependencies {
compile project(':lib')

compile 'com.squareup.okhttp:okhttp:1.6.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:1.6.0'
compile 'com.squareup.picasso:picasso:2.+'
compile 'nl.qbusict:cupboard:2.+'
compile 'com.crashlytics.android:crashlytics:1.+'
Expand Down
Expand Up @@ -16,13 +16,13 @@

package app.philm.in.util;

import com.google.common.base.Preconditions;

import android.os.Handler;
import android.os.Looper;
import android.os.Process;
import android.util.Log;

import com.google.common.base.Preconditions;

import java.util.concurrent.ExecutorService;

import app.philm.in.Constants;
Expand Down Expand Up @@ -115,7 +115,7 @@ public void run() {
} catch (RetrofitError re) {
retrofitError = re;
if (Constants.DEBUG) {
Log.d(getClass().getSimpleName(), "Error while completing network call", re);
Log.d(((Object) this).getClass().getSimpleName(), "Error while completing network call", re);
}
}

Expand Down
7 changes: 4 additions & 3 deletions lib/build.gradle
Expand Up @@ -4,7 +4,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
classpath 'com.android.tools.build:gradle:0.11.0'
}
}

Expand All @@ -16,7 +16,7 @@ repositories {

android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
buildToolsVersion "19.1.0"

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand All @@ -31,7 +31,8 @@ android {
}

dependencies {
compile 'com.squareup.okhttp:okhttp:1.5.+'
compile 'com.squareup.okhttp:okhttp:1.6.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:1.6.0'
compile 'com.squareup.retrofit:retrofit:1.4.+'
compile 'com.squareup:otto:1.3.+'
compile 'com.squareup.dagger:dagger:1.+'
Expand Down

0 comments on commit 33560c0

Please sign in to comment.