{"action":"opened","issue":{"url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/19","labels_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/19/comments","events_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/19/events","html_url":"https://github.com/tlaukkan/zigbee4java/issues/19","id":62924810,"number":19,"title":"Gradle support ready for final test and merge","user":{"login":"chris-hatton","id":895683,"avatar_url":"https://avatars.githubusercontent.com/u/895683?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-hatton","html_url":"https://github.com/chris-hatton","followers_url":"https://api.github.com/users/chris-hatton/followers","following_url":"https://api.github.com/users/chris-hatton/following{/other_user}","gists_url":"https://api.github.com/users/chris-hatton/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-hatton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-hatton/subscriptions","organizations_url":"https://api.github.com/users/chris-hatton/orgs","repos_url":"https://api.github.com/users/chris-hatton/repos","events_url":"https://api.github.com/users/chris-hatton/events{/privacy}","received_events_url":"https://api.github.com/users/chris-hatton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T09:16:51Z","updated_at":"2015-03-19T09:16:51Z","closed_at":null,"body":"Gradle support is now greatly improved from the first attempt and, in my judgement, ready to be merged from **gradleSupport** branch to **master**.  As a temporary feature branch, **gradleSupport** will be deleted, following the merge.\r\n\r\nThe current changes from **master** have been merged into **gradleSupport**, so there should be no conflict when merging back.\r\n\r\nI do not have a suitable testing ZigBee environment at the moment, and while there is no reason why the addition of new build support should have broken anything internal to the library, it may be a good idea for someone (particularly @tlaukkan, @cdjackson  or @presslab-us) to find a moment to compile and run ZigBeeConsole etc. from this branch and perform some kind of sanity check.\r\n\r\nAs a brief intro: Gradle builds both *desktop* and *android* related artifacts by default.\r\nSee this by executing the following line from the **zigbee4java** folder:\r\n\r\n'''\r\n./gradlew build\r\n'''\r\n\r\nWhich profiles are built can be controlled in the file gradle.properties.  It is not currently possible to override this property with -P on the Gradle command line.  Enabling property override behaviour seems to be a subject of some discussion within the Gradle community.\r\n\r\nI've also modified the Maven POMs to match the new module layout and build scheme, with a 'desktop' and 'android' profile.\r\n\r\nOne major difference between the Maven and Gradle outputs, currently, is that Maven does not produce an Android APK file from the ZigBeeConsole App project.  This seems a low priority fix however as Gradle is the clear recommended system for Android builds these days.\r\n\r\nThe zigbee-console-android project is a placeholder at the moment, producing an empty Android App, but now with the correct dependencies in place to build from zigbee-console-common and construct an Android console to demo ZigBee functionality from the mobile platform... this will be my next endeavour.\r\n"}}