In SBT Android Plugin, in proguardTask, there is a value proguardInJars
.
In my simple test project it contains C:\Users\Administrator\.sbt\boot\scala-2.9.1\lib\scala-library.jar
.
It is then combined with my own compiled classes into another value inJars
.
However, it is combined by appending something to it. Here's the code from jberkel/android-plugin that does that:
val manifestr = List("!META-INF/MANIFEST.MF", "R.class", "R$*.class", "TR.class", "TR$.class", "library.properties")
val sep = JFile.pathSeparator
val inJars = ("\"" + classDirectory.absolutePath + "\"") +: proguardInJars.map("\"" + _ + "\""+manifestr.mkString("(", ",!**/", ")"))
I am wondering is anyone knows the semantics of that added stuff.
Also, if I were to break inJars
into separate values, would I still need to append that manifest stuff to proguardInJars
in order for proguardTask
to run without problems?