Created
October 19, 2011 18:50
-
-
Save gamlerhart/1299279 to your computer and use it in GitHub Desktop.
updated android scala build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalac.addparams=-deprecation | |
proguard.dir=./tools/proguard | |
manifest.package=info.gamlor.akkamobile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-post-compile-scala" depends="compile-scala" unless="do.not.compile" | |
description="Shrink project class files and Scala library into one .jar file"> | |
<condition property="debug.mode" value="" else="#DEBUG#"> | |
<equals arg1="${build.target}" arg2="debug"/> | |
</condition> | |
<condition property="release.mode" value="" else="#RELEASE#"> | |
<equals arg1="${build.target}" arg2="release"/> | |
</condition> | |
<!-- priority is given to local ProGuard configuration if present --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="compile-scala" depends="-compile" | |
if="contains.scala.sources" unless="do.not.compile" | |
description="Compiles project's .scala files into .class files"> | |
<condition property="logging" value="verbose" else="none"> | |
<istrue value="${verbose}"/> | |
</condition> | |
<echo message="${scalac.banner}" level="info" taskname="scalac"/> | |
<scalac | |
destdir="${out.classes.absolute.dir}" | |
bootclasspathref="android.target.classpath" | |
logging="${logging}" addparams="${scalac.addparams}" | |
classpath="${extensible.classpath}" | |
classpathref="jar.libs.ref"> | |
<src path="${source.absolute.dir}"/> | |
<src path="${gen.absolute.dir}"/> | |
<classpath> | |
<pathelement location="${scala-library.jar}"/> | |
<fileset dir="${akka-lib-dir}" includes="*.jar"></fileset> | |
<pathelement location=""/> | |
<!-- include compiled resources --> | |
<pathelement location="${out.classes.absolute.dir}"/> | |
<fileset dir="${extensible.libs.classpath}" includes="*.jar"/> | |
</classpath> | |
</scalac> | |
</target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- version-tag: 1 --> | |
<import file="${sdk.dir}/tools/ant/build.xml" /> | |
<import file="build-scala.xml" /> | |
<target name="-post-compile" depends="-post-compile-scala" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment