From 990a5de41a82a96334b52c57fd1514270b135acb Mon Sep 17 00:00:00 2001 From: "liyi@iyunmai.com" Date: Fri, 27 Jul 2018 14:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BE=9D=E8=B5=96=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 1 + fastadapter/build.gradle | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e96c0c3..a14dc94 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,7 @@ buildscript { allprojects { repositories { mavenCentral() + maven { url "https://jitpack.io" } google() jcenter() } diff --git a/fastadapter/build.gradle b/fastadapter/build.gradle index 35517ee..9b5148b 100644 --- a/fastadapter/build.gradle +++ b/fastadapter/build.gradle @@ -14,7 +14,6 @@ android { versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } } buildTypes { @@ -28,7 +27,10 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:recyclerview-v7:27.1.1' - api project(':fastadapter_processor') + implementation 'com.github.aizuzi.FastAdapter:fastadapter_processor:0.1.6' + annotationProcessor 'com.github.aizuzi.FastAdapter:fastadapter_processor:0.1.6' +// api project(':fastadapter_processor') +// annotationProcessor project(':fastadapter_processor') testImplementation 'junit:junit:4.12' // androidTestImplementation 'com.android.support.test:runner:1.0.1'