Skip to content

Instantly share code, notes, and snippets.

@trajano
Created July 6, 2013 19:50
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 trajano/5941038 to your computer and use it in GitHub Desktop.
Save trajano/5941038 to your computer and use it in GitHub Desktop.
Snipet of manifest-update
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<executions>
<execution>
<id>update-manifest</id>
<phase>process-resources</phase>
<goals>
<goal>manifest-update</goal>
</goals>
<configuration>
<manifest>
<versionName>${project.version}</versionName>
</manifest>
<manifestVersionCodeUpdateFromVersion>true</manifestVersionCodeUpdateFromVersion>
</configuration>
</execution>
</executions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment