28 lines
752 B
Groovy
28 lines
752 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:2.3.0'
|
|
}
|
|
}
|
|
|
|
final File repoDir = project.file('libs')
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
repositories {
|
|
//bitcoin-json-rpc-client-1.0.jar isn't part of any well known maven repo
|
|
//so we search the libs dir; gradle generates (guesses) metadata except dependencies.
|
|
//Artifacts from repos with real metadata take precedence.
|
|
flatDir {
|
|
dirs repoDir
|
|
}
|
|
}
|
|
}
|
|
|
|
ext.with {
|
|
BatmDependencySubstitutionConfig = file('dependencySubstitutions.txt')
|
|
} |