Adds filegroup for gradle plugin 2.2.0 and its dependencies

Change-Id: I85a7c4ea5585c277afe8b13aa5eb61bf55861150
diff --git a/common/offline-m2/BUILD b/common/offline-m2/BUILD
new file mode 100644
index 0000000..2ee2a0f
--- /dev/null
+++ b/common/offline-m2/BUILD
@@ -0,0 +1,94 @@
+filegroup(
+    name = "android-gradle-2.2.0",
+    srcs = glob([
+        "com/android/databinding/baseLibrary/2.2.0/**",
+        "com/android/databinding/compilerCommon/2.2.0/**",
+        "com/android/tools/analytics-library/protos/25.2.0/**",
+        "com/android/tools/analytics-library/shared/25.2.0/**",
+        "com/android/tools/analytics-library/tracker/25.2.0/**",
+        "com/android/tools/annotations/24.5.0/**",
+        "com/android/tools/annotations/25.2.0/**",
+        "com/android/tools/build/builder-model/2.2.0/**",
+        "com/android/tools/build/builder-test-api/2.2.0/**",
+        "com/android/tools/build/builder/2.2.0/**",
+        "com/android/tools/build/gradle-api/2.2.0/**",
+        "com/android/tools/build/gradle-core/2.2.0/**",
+        "com/android/tools/build/gradle/2.2.0/**",
+        "com/android/tools/build/manifest-merger/25.2.0/**",
+        "com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/**",
+        "com/android/tools/common/25.2.0/**",
+        "com/android/tools/ddms/ddmlib/25.2.0/**",
+        "com/android/tools/dvlib/25.2.0/**",
+        "com/android/tools/external/com-intellij/uast/145.597.3/**",
+        "com/android/tools/external/lombok/lombok-ast/0.2.3/**",
+        "com/android/tools/jack/jack-api/0.11.0/**",
+        "com/android/tools/jill/jill-api/0.10.0/**",
+        "com/android/tools/layoutlib/layoutlib-api/25.2.0/**",
+        "com/android/tools/lint/lint-api/25.2.0/**",
+        "com/android/tools/lint/lint-checks/25.2.0/**",
+        "com/android/tools/lint/lint/25.2.0/**",
+        "com/android/tools/repository/25.2.0/**",
+        "com/android/tools/sdk-common/25.2.0/**",
+        "com/android/tools/sdklib/25.2.0/**",
+        "com/google/code/gson/gson/2.2.4/**",
+        "com/google/google/1/**",
+        "com/google/guava/guava-parent/17.0/**",
+        "com/google/guava/guava-parent/18.0/**",
+        "com/google/guava/guava/17.0/**",
+        "com/google/guava/guava/18.0/**",
+        "com/google/jimfs/jimfs-parent/1.1/**",
+        "com/google/jimfs/jimfs/1.1/**",
+        "com/google/protobuf/protobuf-java/2.5.0/**",
+        "com/googlecode/juniversalchardet/juniversalchardet/1.0.3/**",
+        "com/intellij/annotations/12.0/**",
+        "com/squareup/javawriter/2.5.0/**",
+        "commons-codec/commons-codec/1.4/**",
+        "commons-io/commons-io/2.4/**",
+        "commons-logging/commons-logging/1.1.1/**",
+        "net/sf/jopt-simple/jopt-simple/4.9/**",
+        "net/sf/kxml/kxml2/2.3.0/**",
+        "net/sf/proguard/proguard-base/5.2.1/**",
+        "net/sf/proguard/proguard-gradle/5.2.1/**",
+        "net/sf/proguard/proguard-parent/5.2.1/**",
+        "org/antlr/ST4/4.0.8/**",
+        "org/antlr/antlr-master/3.5.2/**",
+        "org/antlr/antlr-runtime/3.5.2/**",
+        "org/antlr/antlr/3.5.2/**",
+        "org/antlr/antlr4-master/4.5.3/**",
+        "org/antlr/antlr4/4.5.3/**",
+        "org/apache/apache/13/**",
+        "org/apache/apache/4/**",
+        "org/apache/apache/9/**",
+        "org/apache/commons/commons-compress/1.8.1/**",
+        "org/apache/commons/commons-parent/11/**",
+        "org/apache/commons/commons-parent/25/**",
+        "org/apache/commons/commons-parent/33/**",
+        "org/apache/commons/commons-parent/5/**",
+        "org/apache/httpcomponents/httpclient/4.1.1/**",
+        "org/apache/httpcomponents/httpcomponents-client/**",
+        "org/apache/httpcomponents/httpcomponents-client/4.1/**",
+        "org/apache/httpcomponents/httpcomponents-client/4.1.1/**",
+        "org/apache/httpcomponents/httpcomponents-core/4.1/**",
+        "org/apache/httpcomponents/httpcore/4.1/**",
+        "org/apache/httpcomponents/httpmime/4.1/**",
+        "org/apache/httpcomponents/project/4.1.1/**",
+        "org/bouncycastle/bcpkix-jdk15on/1.48/**",
+        "org/bouncycastle/bcprov-jdk15on/1.48/**",
+        "org/eclipse/jdt/core/compiler/ecj/4.5.1/**",
+        "org/jacoco/org.jacoco.build/0.7.5.201505241946/**",
+        "org/jacoco/org.jacoco.core/0.7.5.201505241946/**",
+        "org/jacoco/org.jacoco.report/0.7.5.201505241946/**",
+        "org/ow2/asm/asm-analysis/5.0.4/**",
+        "org/ow2/asm/asm-commons/5.0.4/**",
+        "org/ow2/asm/asm-debug-all/5.0.1/**",
+        "org/ow2/asm/asm-parent/5.0.1/**",
+        "org/ow2/asm/asm-parent/5.0.4/**",
+        "org/ow2/asm/asm-tree/5.0.4/**",
+        "org/ow2/asm/asm/5.0.4/**",
+        "org/ow2/ow2/1.3/**",
+        "org/sonatype/oss/oss-parent/7/**",
+        "org/sonatype/oss/oss-parent/9/**",
+    ]),
+    visibility = ["//visibility:public"],
+)
+