-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework android support example (#3676)
Tries to address some of the issues in #3675 * [ ] Various tasks like `sdkUrl` or `buildToolsVersion` should be prefixed with `android` * [x] Hardcoded `buildToolsVersion` defaults to `35.0.0`. I suggest to just remove the default. * [x] Hardcoded `platformsVersion` defaults to `android-35`. We could derive it from `buildToolsVersion`. * [ ] In general lots of various paths which are just sub-paths of `buildToolsPath` have their own tasks. Instead we could have some "config" class, which returns common paths from a `buildToolsPath`, e.g. by applying a (version specific) layout/sub-paths. * [x] `AndroidAppModule.androidSdkModule` should have the type `ModuleRef[AndroidSdkModule]`. * [x] `androidResources` hardcodes a path to `src/main/AndroidManifest.xml`. It should either lookup the file from `sources` task, or be it's own `androidManifest: Source` task. * [x] `androidKeystore` is probably meant to be a persistent task
- Loading branch information
Showing
5 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters