Fix uploadArchive tasks for SupportLibraryPlugin.

We had two issues that were causing for support_repo not to get
built properly:
- We never triggered creating mavenDeployer, we simply were listening
  for one to be created before we configure it.
  Fix is to call uploadTask.repositories { mavenDeplouer { ...
- We were accessing supportLibraryExtension before it was evaluated.
  Fix is to move to project.afterEvaluate { ...

Test: rm -fr out && ./gradlew uploadArchives creates needed files in support_repo
Bug: 33845666
Change-Id: I9c3f852783aec6844bd527a9a5f8c27fffac19b9
1 file changed