Skip to content

Commit

Permalink
Merge branch 'master' into dagger-android
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian committed Oct 18, 2017
2 parents 06e4992 + 11a34e5 commit 79c77d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ buildscript {
mavenCentral()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -18,6 +19,7 @@ allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }

flatDir {
dirs 'libs'
Expand Down
21 changes: 11 additions & 10 deletions networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.Wolox'

android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
compileSdkVersion 26
buildToolsVersion '26.0.2'

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 26
consumerProguardFiles 'proguard-retrofit.pro', 'proguard-okhttp.pro', 'proguard-gson.pro'
}

Expand All @@ -19,17 +19,18 @@ android {
}

buildscript {
// TODO We need to update the wolmo version when wolmo-core-android is merged
ext.wolmo_version = 'dagger-android-SNAPSHOT'
ext.retrofit_version = '2.3.0'
ext.okhttp3_version = '3.9.0'
ext.dagger_version = '2.11-rc2'
ext.retrofit_version = '2.2.0'
ext.okhttp_version = '3.7.0'
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])

// Wolmo
// TODO We need to update the wolmo version when wolmo-core-android is merged
compile 'com.github.Wolox:wolmo-core-android:dagger-android-SNAPSHOT'
compile "com.github.Wolox:wolmo-core-android:$wolmo_version"

// Dagger
provided "com.google.dagger:dagger:$dagger_version"
Expand All @@ -38,6 +39,6 @@ dependencies {
// Third party
compile "com.squareup.retrofit2:retrofit:$retrofit_version"
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
compile "com.squareup.okhttp3:okhttp-urlconnection:$okhttp_version"
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
}
compile "com.squareup.okhttp3:okhttp-urlconnection:$okhttp3_version"
compile "com.squareup.okhttp3:okhttp:$okhttp3_version"
}
7 changes: 4 additions & 3 deletions networking/proguard-okhttp.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-keepattributes Signature
-keepattributes Annotation
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
-keepattributes *Annotation*
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-dontwarn com.squareup.okhttp.**
-dontwarn okhttp3.**
-dontwarn okio.**

0 comments on commit 79c77d5

Please sign in to comment.