blob: f8217a9466cf165485b249a6d76ba00fd9d3cdf2 [file] [log] [blame]
buildscript {
def supportRootFolder = project.projectDir.getParentFile()
apply from: "unbundled_check.gradle"
repositories {
maven {
url "${supportRootFolder}/../../prebuilts/tools/common/m2/repository"
}
if (isUnbundledBuild(supportRootFolder)) {
jcenter()
}
}
apply from: "build_dependencies.gradle"
dependencies {
classpath build_libs.kotlin.gradle_plugin
}
}
apply from: "build_dependencies.gradle"
ext.supportRootFolder = project.projectDir.getParentFile()
apply from: 'repos.gradle'
repos.addMavenRepositories(repositories)
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'kotlin'
compileGroovy {
dependsOn tasks.getByPath('compileKotlin')
classpath += files(compileKotlin.destinationDir)
}
dependencies {
compile build_libs.gradle
compile build_libs.jacoco
compile build_libs.error_prone
compile build_libs.jarjar_gradle
compile gradleApi()
}