diff --git a/tools/build.gradle b/tools/build.gradle index c9985b1612..781c80e821 100644 --- a/tools/build.gradle +++ b/tools/build.gradle @@ -17,7 +17,7 @@ def doAntialias = !project.hasProperty("disableAntialias") def colorMap = new IntMap>(), colorIndexMap = new IntIntMap() //on my machine, I have a native Nim AA implementation that is ~10x faster //it's not compiled for other platforms so they don't get it -def useFastAA = System.getProperty("user.name") == "anuke" +def useFastAA = project.hasProperty("fastAA") || System.getProperty("user.name") == "anuke" def transformColors = { List> list -> list.each{ colors -> @@ -281,4 +281,4 @@ task updateScripts(dependsOn: classes, type: JavaExec){ classpath = sourceSets.main.runtimeClasspath standardInput = System.in workingDir = "../" -} \ No newline at end of file +}