Unspecified behaviour in C++ when adding to map
I recently happened upon a bug in a C++ codebase which had me scratching my head. When the behaviour differed between GCC and Clang it became even more muddled. This…
I recently happened upon a bug in a C++ codebase which had me scratching my head. When the behaviour differed between GCC and Clang it became even more muddled. This…
One thing that’s nagged me when using the Android Gradle build system is that by default the APK files produced will have the nondescript name of app-debug.apk
and cousins. This stems from the default and preferred project setup where the application code is contained in the “app” directory, and the name of the directory by default is used for the APK name. But if you’ve ever had to distribute your APK artifacts to other people this simple name won’t cut it.
We can do better!
In this post I’ll show you how to setup Gradle for an Android project to automatically generate a usable versionCode
from a standardized version number. (more…)
If you’re working on a project, chances are you’re also using some kind of issue tracker (like Jira or Trac). Most modern issue trackers allow integration with version control systems…
If you use Git locally against a Subversion repository you might run into problems if your project is set up to generate automatic build numbers through the buildnumber-maven-plugin, since the plugin might be setup to get the build numbers from Subversion. Through some use of additional profiles you can work around this.