include_defs('//ReactAndroid/DEFS')

android_library(
  name = 'junit',
  exported_deps = [
    ':junit-core',
    ':hamcrest',
  ],
  visibility = ['//ReactAndroid/...',],
)

prebuilt_jar(
  name = 'junit-core',
  binary_jar = ':download-junit',
  visibility = ['//ReactAndroid/...',],
)

remote_file(
  name = 'download-junit',
  url = 'mvn:junit:junit:jar:4.12',
  sha1 = '2973d150c0dc1fefe998f834810d68f278ea58ec',
)

prebuilt_jar(
  name = 'hamcrest',
  binary_jar = ':download-hamcrest',
  visibility = ['//ReactAndroid/...',],
)

remote_file(
  name = 'download-hamcrest',
  url = 'mvn:org.hamcrest:hamcrest-all:jar:1.3',
  sha1 = '63a21ebc981131004ad02e0434e799fd7f3a8d5a',
)
