Skip to content

Commit

Permalink
配置JitPack插件,发布aar类库
Browse files Browse the repository at this point in the history
  • Loading branch information
jixiangxiang committed Sep 30, 2017
1 parent bbb32d2 commit 431f64b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions baselibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'maven'
apply plugin: 'com.github.dcendents.android-maven'
android {
compileSdkVersion 26
buildToolsVersion "25.0.2"
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ buildscript {
// jcenter()
mavenLocal()
maven { url NEXUS_SERVER_URL }
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.growingio.android:vds-gradle-plugin:1.0.3'
classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'

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 All @@ -22,7 +22,7 @@ allprojects {
repositories {
mavenLocal()
maven { url NEXUS_SERVER_URL }
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
Expand Down
1 change: 1 addition & 0 deletions photolibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'com.github.dcendents.android-maven'
android {
compileSdkVersion 26
buildToolsVersion "25.0.2"
Expand Down

0 comments on commit 431f64b

Please sign in to comment.