| // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| buildscript { |
| repositories { |
| jcenter() |
| maven { |
| url 'https://maven.google.com' |
| } |
| } |
| dependencies { |
| classpath 'com.android.tools.build:gradle:3.0.0-alpha1' |
| } |
| } |
| |
| allprojects { |
| repositories { |
| jcenter() |
| maven { |
| url 'https://maven.google.com' |
| } |
| } |
| } |
| |
| // BEGIN_EXCLUDE |
| import com.example.android.samples.build.SampleGenPlugin |
| apply plugin: SampleGenPlugin |
| |
| samplegen { |
| pathToBuild "../../../../../build" |
| pathToSamplesCommon "../../../common" |
| } |
| apply from: "../../../../../build/build.gradle" |
| // END_EXCLUDE |