{"comment":{"created_at":"2011-10-14T21:16:35Z","body":"Another possible arrangement:  run aapt generation (at least for the library)\r\nwith --non-constant-id, and have the aapt-package task regenerate and\r\ncompile the R.java files only.  Which eliminates the \"baked-in stale cookie\"\r\nproblem...","updated_at":"2011-10-14T21:16:35Z","url":"https://api.github.com/repos/jberkel/android-plugin/issues/comments/2411521","id":2411521,"user":{"avatar_url":"https://secure.gravatar.com/avatar/28bc9694b1cba18589f698d83ca47d9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"28bc9694b1cba18589f698d83ca47d9f","url":"https://api.github.com/users/rst","id":246888,"login":"rst"}},"action":"created","issue":{"number":62,"created_at":"2011-09-30T02:33:11Z","pull_request":{"diff_url":"https://github.com/jberkel/android-plugin/pull/62.diff","patch_url":"https://github.com/jberkel/android-plugin/pull/62.patch","html_url":"https://github.com/jberkel/android-plugin/pull/62"},"body":"This is lingering cleanup in the transition from sbt 0.7 to newer versions,\r\ndone against the 0.11 branch of the plugin.\r\n\r\nIt restores the \"Android Library Project\" functionality:  if an Android\r\nproject has other Android projects in its direct classPath dependencies,\r\nand you build an APK for that project, it will include resources for the\r\nbase project and its dependencies, and the IDs will be made consistent.\r\n(In fact, by generating the same R.java file for all of them, with the\r\nappropriate package name for each; it's a kludge, but that's how the\r\nstock library project support is working now, too.)\r\n\r\nThis differs slightly from the previous version, in that it will include\r\nonly Android projects declared as direct dependencies, and not all the\r\nAndroid projects in the build.  There may be only one sbt-android build\r\non the planet complex enough that it makes sense to be this selective,\r\nbut it happens to be mine ;-).\r\n\r\n(It might make sense to include resources for dependencies-of-dependencies,\r\nbut I'm not sure anyone has a practical use for that...)\r\n\r\nThere are two commits here.  The first works in the 0.10 and 0.11 versions\r\nof the plugin, and gets deprecation warnings in 0.11.  The second eliminates\r\nthe deprecation warnings in 0.11, and breaks things completely in 0.10.  So,\r\nif you want to update the current master (the 0.10 branch), cherry-pick the\r\nfirst commit only.","comments":14,"title":"Restore \"android library project\" support to 0.11 branch","updated_at":"2011-10-14T21:16:35Z","url":"https://api.github.com/repos/jberkel/android-plugin/issues/62","id":1782300,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/28bc9694b1cba18589f698d83ca47d9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"28bc9694b1cba18589f698d83ca47d9f","url":"https://api.github.com/users/rst","id":246888,"login":"rst"},"html_url":"https://github.com/jberkel/android-plugin/issues/62","labels":[],"state":"open"},"legacy":{"issue_id":1782300,"comment_id":2411521}}