Skip to content

Commit

Permalink
配置jitpack需要的环境
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaleap committed Jun 6, 2018
1 parent 7bbda19 commit 976b16a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ buildscript {
repositories {
google()
jcenter()
//jitpack need
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'

//jitpack need
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 4 additions & 0 deletions lib-ipfs/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
apply plugin: 'com.android.library'
//这个跟Jcenter一样的插件
apply plugin: 'com.github.dcendents.android-maven'
//你的Github用户名替换一下
group='com.github.wulijie'

android {
compileSdkVersion 27
Expand Down

0 comments on commit 976b16a

Please sign in to comment.