Also ignore 'patchy', the new Mojang netty hack

This commit is contained in:
Petr Mrázek 2017-04-14 22:08:07 +02:00
parent 9bd311d31a
commit 95d82b51a7

View File

@ -50,7 +50,12 @@ class GradleSpecifier:
return self.group in ("org.lwjgl.lwjgl", "net.java.jinput", "net.java.jutils")
def isMojangNetty(self):
return self.group == "com.mojang" and self.artifact == "netty"
if self.group == "com.mojang":
if self.artifact == "netty":
return True
if self.artifact == "patchy":
return True
return False
def __lt__(self, other):
return self.toString() < other.toString()