File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
source/src/main/groovy/com/kezong/fataar Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -139,14 +139,21 @@ final class VariantProcessor {
139139
140140 private void processDeepLinkTasks () {
141141 String taskName = " extractDeepLinksForAar${ mVariant.name.capitalize()} "
142- TaskProvider extractDeepLinks = mProject. tasks. named(taskName)
143- if (extractDeepLinks == null ) {
142+ TaskProvider extractDeepLinksForAar = mProject. tasks. named(taskName)
143+ if (extractDeepLinksForAar == null ) {
144144 throw new RuntimeException (" Can not find task ${ taskName} !" )
145145 }
146146
147- extractDeepLinks . configure {
147+ extractDeepLinksForAar . configure {
148148 dependsOn(mExplodeTasks)
149149 }
150+
151+ TaskProvider extractDeepLinks = mProject. tasks. named(" extractDeepLinks${ mVariant.name.capitalize()} " )
152+ if (extractDeepLinks != null ) {
153+ extractDeepLinks. configure {
154+ dependsOn(mExplodeTasks)
155+ }
156+ }
150157 }
151158
152159 /**
You can’t perform that action at this time.
0 commit comments