| Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame^] | 1 | buildscript { |
| 2 | def supportRootFolder = project.projectDir.getParentFile() |
| 3 | repositories { |
| 4 | maven { |
| 5 | url "${supportRootFolder}/../../prebuilts/tools/common/m2/repository" |
| 6 | } |
| 7 | } |
| Sergey Vasilinets | ccb3fcb | 2017-10-16 23:46:48 +0000 | [diff] [blame] | 8 | |
| Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame^] | 9 | apply from: "build_dependencies.gradle" |
| 10 | |
| 11 | dependencies { |
| 12 | classpath build_libs.kotlin.gradle_plugin |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | apply from: "build_dependencies.gradle" |
| Aurimas Liutikas | f09d858 | 2017-01-20 21:49:51 -0800 | [diff] [blame] | 17 | |
| Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 18 | ext.supportRootFolder = project.projectDir.getParentFile() |
| 19 | apply from: 'repos.gradle' |
| Aurimas Liutikas | 9ab3b4c3 | 2017-04-19 09:33:27 -0700 | [diff] [blame] | 20 | |
| Sergey Vasilinets | ccb3fcb | 2017-10-16 23:46:48 +0000 | [diff] [blame] | 21 | repos.addMavenRepositories(repositories) |
| Sergey Vasilinets | bb245e08 | 2017-10-11 00:16:04 -0700 | [diff] [blame] | 22 | |
| Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame^] | 23 | apply plugin: 'groovy' |
| 24 | apply plugin: 'java' |
| 25 | apply plugin: 'kotlin' |
| 26 | |
| 27 | compileGroovy { |
| 28 | dependsOn tasks.getByPath('compileKotlin') |
| 29 | classpath += files(compileKotlin.destinationDir) |
| 30 | } |
| Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 31 | dependencies { |
| Sergey Vasilinets | 70a2e82 | 2017-11-03 12:20:28 -0700 | [diff] [blame^] | 32 | compile build_libs.gradle |
| 33 | compile build_libs.jacoco |
| 34 | compile build_libs.error_prone |
| 35 | compile build_libs.jarjar_gradle |
| Aurimas Liutikas | a192828 | 2017-07-17 12:32:26 -0700 | [diff] [blame] | 36 | compile gradleApi() |
| Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 37 | } |