From 958a34361bb5fae94e7b478e5a860e56ad50f0bc Mon Sep 17 00:00:00 2001 From: "wangpeng.rocky" Date: Wed, 20 Jan 2021 11:57:58 +0800 Subject: [PATCH] update gradle to fix build err --- app/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 43699da..021cc46 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -54,15 +54,16 @@ dependencies { implementation 'androidx.navigation:navigation-ui-ktx:2.0.0' implementation "androidx.fragment:fragment:$fragment_version" if (codeDepend) { - implementation 'com.github.fragivity:processor:0.1.0' - implementation project(path: ':processor') + implementation project(':library') + implementation project(':processor') + kapt project(':processor') } else { implementation 'com.github.fragivity:core:0.1.1' - implementation project(path: ':processor') + implementation 'com.github.fragivity:processor:0.1.0' + kapt 'com.github.fragivity:processor:0.1.0' } testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' - kapt project(":processor") }