tools: Add dependecy download helpers

This patch adds 2 helpers to download dependencies for compiler and
stub generator during their execution.

They take list of external dependencies as a parameter and directory
where they must be located. Helpers check if these dependencies exist
in the given directory and download not existing ones.
This commit is contained in:
Ilya Matveev
2017-03-21 15:43:13 +07:00
committed by ilmat192
parent 4a716fbf30
commit fbc14becfc
20 changed files with 342 additions and 21 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ dependencies {
}
}
def testOutputRoot = rootProject.file("test.output").absolutePath
def externalTestsDir = project.file("external")
ext.testOutputRoot = rootProject.file("test.output").absolutePath
ext.externalTestsDir = project.file("external")
externalTestsDir.mkdirs()
allprojects {