This is my personal setup almost every time I install Arch Linux. This is meant for me as being something I can quickly reference.
In my case I have a Danish keyboard layout.
| import java.util.regex.Pattern | |
| apply plugin: 'com.android.application' | |
| /** | |
| * Extract Git commit hash of HEAD with number of changed files | |
| */ | |
| def getGitHashVersionName = { | |
| try { | |
| def hashOutput = new ByteArrayOutputStream() | 
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
| <keyboard group="0" id="4711" name="Win DE" maxout="1"> | |
| <layouts> | |
| <layout first="0" last="17" modifiers="Modifiers" mapSet="ANSI"/> | |
| <layout first="18" last="18" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="21" last="23" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="30" last="30" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="33" last="33" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="36" last="36" modifiers="Modifiers" mapSet="JIS"/> |