Skip to content

Instantly share code, notes, and snippets.

@pungrue26
Created September 1, 2014 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pungrue26/5489316c5f4e35c957d5 to your computer and use it in GitHub Desktop.
Save pungrue26/5489316c5f4e35c957d5 to your computer and use it in GitHub Desktop.
custom_rules.xml example
<?xml version="1.0" encoding="UTF-8"?>
<project name="custom_rules">
<xmlproperty file="AndroidManifest.xml" prefix="mymanifest" collapseAttributes="true"/>
<target name="-pre-compile">
<copy toDir="./gen/com/com2us/golfstarworldtour/normal/freefull/google/global/android/common/" overwrite="true">
<fileset file="./unity_gen_r/golfstar/R.java" />
</copy>
<copy toDir="./gen/com/com2us/peppermint/" overwrite="true">
<fileset file="./unity_gen_r/peppermint/R.java" />
</copy>
<copy toDir="./gen/com/facebook/android/" overwrite="true">
<fileset file="./unity_gen_r/facebook/R.java" />
</copy>
<copy toDir="./gen/com/google/android/gms/" overwrite="true">
<fileset file="./unity_gen_r/google/R.java" />
</copy>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment