New public plugin and move existing to internal.

All current plugin classes are considered public API
because of how Gradle allows finding plugins. Therefore
we need these classes to not change.

However, we also want to have plugin authors target gradle-api
instead of the 'gradle' artifact. This change forks the current
plugin classes into a new set of public class (name unchanged)
and the actual implementations as private, internal classes.

The new public plugins delegate to the internal plugins
by applying them as separate "internal" plugins. For now
the public plugins stay in gradle-core but we'll move them
to gradle-api at some point. This is currently limited by
the presence of getExtension on BasePlugin, both of which are
now deprecated.

Because our classes have no other public API this should not
break anything.

Bug: N/A
Change-Id: Iedda24f8e363e014a71a93a4fc471ac10a932e64
Test: existing tests have been updated.
58 files changed
tree: ed6db6ccabdb16d7ebab3a44c4ca5cec3bcd55f6
  1. .idea/
  2. annotations/
  3. apkparser/
  4. app-inspection/
  5. apps/
  6. aspects_agent/
  7. bazel/
  8. build-system/
  9. chunkio/
  10. chunkio-processor/
  11. common/
  12. ddmlib/
  13. debug/
  14. deploy/
  15. device_validator/
  16. devicelib/
  17. draw9patch/
  18. dynamic-layout-inspector/
  19. echo-sample/
  20. external-annotations/
  21. fakeadbserver/
  22. fakeandroid/
  23. files/
  24. flags/
  25. jaxb-inheritance-plugin/
  26. jobb/
  27. layoutinspector/
  28. layoutlib-api/
  29. legacy/
  30. lint/
  31. misc/
  32. ninepatch/
  33. perf-logger/
  34. perflib/
  35. pixelprobe/
  36. profiler/
  37. repository/
  38. sdk-common/
  39. sdklib/
  40. signflinger/
  41. templates/
  42. testing-infrastructure/
  43. testutils/
  44. third_party/
  45. tracer/
  46. transport/
  47. usb-devices/
  48. vector-drawable-tool/
  49. wizard/
  50. zipflinger/
  51. .gitignore
  52. adt.iml
  53. BUILD.bazel
  54. build.gradle
  55. changes.txt
  56. contributing.md
  57. navbar.md
  58. PREUPLOAD.cfg
  59. README.md
  60. source.md
  61. studio.md
README.md

tools/base

This project contains:

  • Common libraries that are shared between any of the IDE (Android Studio), the build system (The Android Gradle Plugin) and SDK components that will be released from studio-master-dev (e.g. the standalone SDK manager). This includes:
    • Instant-run-libraries
    • SDK management libraries
    • The manifest merger
    • Common libraries
    • Common test utilites
  • The build system
  • The new profiler