Skip to content

Commit 702bb78

Browse files
committed
1、修改Library 集成第三方库方式
1 parent bc2e798 commit 702bb78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.application'
2+
apply plugin: 'com.neenbedankt.android-apt'
23
apply plugin: 'me.tatarka.retrolambda'
3-
apply plugin: 'com.jakewharton.butterknife'
44

55
android {
66
def ext = rootProject.ext
@@ -47,7 +47,7 @@ android {
4747
dependencies {
4848
compile fileTree(dir: 'libs', include: ['*.jar'])
4949
compile project(':library')
50-
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
50+
apt 'com.jakewharton:butterknife-compiler:8.8.0'
5151
compile 'cn.bingoogolapple:bga-banner:2.1.7@aar'
5252
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'
5353
//设置界面Item库

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ buildscript {
77
}
88
dependencies {
99
classpath 'com.android.tools.build:gradle:2.2.3'
10+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
1011
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
1112
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
12-
classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.0'
1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files
1515
}

0 commit comments

Comments
 (0)