{"push_id":3092665908,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"0f91aea529a25d2d0fc225dcbc07f18a42435ef4","before":"79b220a05f643b72608f597de3cf4a70b05b85e1","commits":[{"sha":"0f91aea529a25d2d0fc225dcbc07f18a42435ef4","author":{"name":"Dean Ellis","email":"049ca2a632b02fd8d7fb6fd36ea8779ff1a63a3d@googlemail.com"},"message":"[Xamarin.Android.Build.Tasks] Enable Aapt2 by default (#2381)\n\nEnable `aapt2` as the default resource processor. \r\n\r\nUse of `aapt2` can be disabled by setting `$(AndroidUseAapt2)`=False\r\nin the `.csproj`.\r\n\r\nlso fixes a small issue with compiling library resources.\r\nThe scenario is as follows:\r\n\r\n 1. Library project contains resources:\r\n\r\n        Resource\\drawable\\foo.png\r\n        Resource\\layout\\foo.xml\r\n\r\n 2. Main app project references a library in (1).\r\n\r\n 3. Build the App project.  This works as expected.\r\n\r\n 4. Update `Resource\\layout\\foo.xml` in the Library project.\r\n\r\n 5. Build again.\r\n\r\n    This build does *not* refresh the `.flata` file for the library,\r\n    as `<CollectNonEmptyDirectories/>` only looked for the first file\r\n    in the library `res` directory, which was used as an input to the\r\n    `_ConvertLibraryResourcesCases` and\r\n    `_CompileAndroidLibraryResources` targets.\r\n    \r\n    If the Library project *isn't* the first file -- which is often\r\n    the case -- then those targets won't be executed, and the\r\n    `.flata` file won't be updated.\r\n\r\nInstead of using the first file, use the library `.stamp` files as\r\nthe inputs.  This is because when we do extract new/updated files\r\nfrom the library that `.stamp` file will be modified.  By using the\r\n`.stamp` files for the inputs we know that those targets will be run.\r\n\r\nFinally, update the `ManagedResourceParser` output so that nested\r\ntypes are *always* generated.  This is what `aapt` output generates,\r\nand skipping nested types -- as was previously done -- \r\n[resulted in API breakage][0], as the\r\n`Xamarin.Android.NUnitLite.Resource.Attribute` type was not generated.\r\n\r\n[0]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android-pr-builder/4522/API_20Compatibility_20Checks/","distinct":true,"url":"https://api.github.com/repos/xamarin/xamarin-android/commits/0f91aea529a25d2d0fc225dcbc07f18a42435ef4"}]}
{"actor":{"display_login":"jonpryor"}}