2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

Don't substitute application-services packages which are not part of the megazord

This commit is contained in:
Thom Chiovoloni 2019-06-10 14:53:56 -07:00 committed by Grisha Kruglov
parent c17d024452
commit 4d82c29743

View File

@ -455,7 +455,8 @@ afterEvaluate {
} }
} }
// Check whether it was already megazorded. // Check whether it was already megazorded.
if (! dependency.requested.name.endsWith("-withoutLib")) { // Hack: sync15 is pure kotlin, and thus not part of the megazord.
if (! dependency.requested.name.endsWith("-withoutLib") && dependency.requested.name != "sync15") {
// Use either the -forUnitTests megazord, or the default one. // Use either the -forUnitTests megazord, or the default one.
def substitution def substitution
if (dependency.requested.name.endsWith("-forUnitTests")) { if (dependency.requested.name.endsWith("-forUnitTests")) {