1
0
Fork 0

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

master
Thom Chiovoloni 2019-06-10 14:53:56 -07:00 committed by Grisha Kruglov
parent c17d024452
commit 4d82c29743
1 changed files with 2 additions and 1 deletions

View File

@ -455,7 +455,8 @@ afterEvaluate {
}
}
// 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.
def substitution
if (dependency.requested.name.endsWith("-forUnitTests")) {