Skip to content

Instantly share code, notes, and snippets.

@mig35
Created July 8, 2019 07:49
Show Gist options
  • Save mig35/3fb01dc3aede55e5ebddfee63a7f66af to your computer and use it in GitHub Desktop.
Save mig35/3fb01dc3aede55e5ebddfee63a7f66af to your computer and use it in GitHub Desktop.
RULES_JVM_EXTERNAL_TAG = "2.2"
RULES_JVM_EXTERNAL_SHA = "f1203ce04e232ab6fdd81897cf0ff76f2c04c0741424d192f28e65ae752ce2d6"
http_archive(
name = "rules_jvm_external",
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
sha256 = RULES_JVM_EXTERNAL_SHA,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
artifacts = [
"androidx.appcompat:appcompat:1.0.2",
"androidx.fragment:fragment:1.0.0",
"androidx.core:core:1.0.1",
"androidx.lifecycle:lifecycle-runtime:2.0.0",
"androidx.lifecycle:lifecycle-viewmodel:2.0.0",
"androidx.lifecycle:lifecycle-common:2.0.0",
"androidx.drawerlayout:drawerlayout:1.0.0",
"androidx.constraintlayout:constraintlayout:1.1.3",
"com.google.android.material:material:1.0.0",
],
repositories = [
"https://maven.google.com",
],
fetch_sources = True,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment