Skip to content

Commit

Permalink
add jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
tsy12321 committed Dec 9, 2016
1 parent 1d3c4fc commit d46823b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}

Expand Down
8 changes: 7 additions & 1 deletion myokhttp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.tsy12321'

android {
compileSdkVersion 23
Expand All @@ -16,6 +19,9 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}

dependencies {
Expand All @@ -26,4 +32,4 @@ dependencies {
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.google.code.gson:gson:2.7'
compile 'com.squareup.okio:okio:1.9.0'
}
}

0 comments on commit d46823b

Please sign in to comment.