Update maven release script to add dependencies.

Instead of shipping a fat repackaged jar to maven, we will ship
a real maven package with only our code and explicit dependencies.

R=ricow@google.com, sgjesse@google.com

Bug: 67090422
Change-Id: I5de7feef0ea115ee8e4ce2106586c55f44015c07
diff --git a/tools/archive.py b/tools/archive.py
index 20d057c..d929768 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -65,10 +65,11 @@
 def Main():
   if not 'BUILDBOT_BUILDERNAME' in os.environ:
     raise Exception('You are not a bot, don\'t archive builds')
+
+  create_maven_release.main(["--out", utils.LIBS])
+
   # Ensure all archived artifacts has been built before archiving.
   gradle.RunGradle([utils.D8, utils.R8, utils.COMPATDX, utils.COMPATPROGUARD])
-  create_maven_release.main(['--jar', utils.R8_JAR, "--out", utils.LIBS])
-
   version = GetVersion()
   is_master = IsMaster(version)
   if is_master: