Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 1 | /* |
gerry | 3b5b60a | 2018-06-06 23:30:34 -0700 | [diff] [blame] | 2 | * Copyright 2018 The Android Open Source Project |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| 19 | |
| 20 | |
| 21 | |
| 22 | buildscript { |
Paul McLean | 073ad28 | 2020-01-13 10:32:50 -0700 | [diff] [blame] | 23 | ext.kotlin_version = '1.3.50' |
| 24 | |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 25 | repositories { |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 26 | google() |
gfan | c351bd0 | 2018-06-11 11:25:36 -0700 | [diff] [blame] | 27 | jcenter() |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 28 | } |
| 29 | dependencies { |
Paul McLean | 836ca9b | 2020-08-06 15:30:39 -0600 | [diff] [blame] | 30 | classpath 'com.android.tools.build:gradle:4.0.1' |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 31 | // NOTE: Do not place your application dependencies here; they belong |
| 32 | // in the individual module build.gradle files |
Paul McLean | 073ad28 | 2020-01-13 10:32:50 -0700 | [diff] [blame] | 33 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 34 | } |
| 35 | } |
| 36 | |
| 37 | allprojects { |
| 38 | repositories { |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 39 | google() |
gfan | c351bd0 | 2018-06-11 11:25:36 -0700 | [diff] [blame] | 40 | jcenter() |
Don Turner | e3e55e6 | 2018-03-27 15:50:03 +0100 | [diff] [blame] | 41 | } |
| 42 | } |