Properly speed up ndk-build

Original idea from @wongsyrone.
This commit is contained in:
Mygod
2017-01-23 01:03:03 +08:00
parent e3ad38318d
commit 128d47aba1
+1
View File
@@ -9,6 +9,7 @@ lazy val commonSettings = Seq(
compileOrder := CompileOrder.JavaThenScala,
javacOptions ++= "-source" :: "1.7" :: "-target" :: "1.7" :: Nil,
scalacOptions ++= "-target:jvm-1.7" :: "-Xexperimental" :: Nil,
ndkArgs := "-j" :: java.lang.Runtime.getRuntime.availableProcessors.toString :: Nil,
proguardVersion := "5.3.2",
proguardCache := Seq(),