2017-04-04 15:18:46 -07:00
|
|
|
/* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
2014-09-10 10:54:21 -04:00
|
|
|
*/
|
|
|
|
|
2017-04-04 15:18:46 -07:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
2014-08-18 09:40:33 -04:00
|
|
|
|
|
|
|
buildscript {
|
2021-03-27 16:36:09 +03:00
|
|
|
ext.kotlin_version = '1.4.31'
|
2021-03-27 12:11:56 -03:00
|
|
|
apply from: 'repositories.gradle'
|
|
|
|
repositories repos
|
|
|
|
|
2018-09-26 00:29:31 -07:00
|
|
|
dependencies {
|
2021-03-27 16:36:39 +03:00
|
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
2020-01-27 16:14:58 +09:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2017-04-04 15:18:46 -07:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
2014-08-18 09:40:33 -04:00
|
|
|
}
|
2016-06-06 11:21:30 -07:00
|
|
|
}
|
2014-08-18 09:40:33 -04:00
|
|
|
|
2016-06-06 11:21:30 -07:00
|
|
|
allprojects {
|
2021-03-27 12:11:56 -03:00
|
|
|
apply from: 'repositories.gradle'
|
|
|
|
repositories repos
|
2018-09-26 00:29:31 -07:00
|
|
|
|
2017-10-18 11:04:44 -07:00
|
|
|
//This replaces project.properties w.r.t. build settings
|
2017-04-04 15:18:46 -07:00
|
|
|
project.ext {
|
2020-01-07 11:47:27 -04:00
|
|
|
defaultBuildToolsVersion="29.0.2" //String
|
2020-04-03 19:54:08 +02:00
|
|
|
defaultMinSdkVersion=22 //Integer - Minimum requirement is Android 5.1
|
2020-01-07 11:47:27 -04:00
|
|
|
defaultTargetSdkVersion=29 //Integer - We ALWAYS target the latest by default
|
|
|
|
defaultCompileSdkVersion=29 //Integer - We ALWAYS compile with the latest by default
|
2014-09-17 15:29:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-04 15:18:46 -07:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2014-09-23 21:03:17 -04:00
|
|
|
}
|