File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
buildSrc/src/main/groovy/com/iqiyi/qigsaw/buildtool/gradle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ class QigsawAppBasePlugin extends QigsawPlugin {
244
244
}
245
245
packageApp. doFirst {
246
246
if (versionAGP < VersionNumber . parse(" 3.5.0" )) {
247
- Task dexSplitterTask = AGPCompat . getDexSplitterTask(project, variantName )
247
+ Task dexSplitterTask = AGPCompat . getDexSplitterTask(project, baseVariant . name . capitalize() )
248
248
if (dexSplitterTask != null ) {
249
249
List<File > dexFiles = new ArrayList<> ()
250
250
inputs. files. each { File file ->
@@ -254,7 +254,7 @@ class QigsawAppBasePlugin extends QigsawPlugin {
254
254
}
255
255
}
256
256
}
257
- DexReMergeHandler handler = new DexReMergeHandler (project, variant )
257
+ DexReMergeHandler handler = new DexReMergeHandler (project, baseVariant )
258
258
handler. reMerge(dexFiles)
259
259
}
260
260
}
You can’t perform that action at this time.
0 commit comments