fix missing android dependency download task

This commit is contained in:
Bartol Karuza 2019-03-03 14:47:09 +08:00
parent 0c453b6118
commit 5e7fa0edc8
1 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,18 @@ buildscript {
}
allprojects {
task downloadDependencies() {
description 'Download all dependencies to the Gradle cache'
doLast {
configurations.findAll().each { config ->
if (config.name.contains("minReactNative") && config.canBeResolved) {
print config.name
print '\n'
config.files
}
}
}
}
repositories {
mavenLocal()
google()