No Description

build.gradle 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Licensed to the Apache Software Foundation (ASF) under one
  2. or more contributor license agreements. See the NOTICE file
  3. distributed with this work for additional information
  4. regarding copyright ownership. The ASF licenses this file
  5. to you under the Apache License, Version 2.0 (the
  6. "License"); you may not use this file except in compliance
  7. with the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing,
  10. software distributed under the License is distributed on an
  11. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  12. KIND, either express or implied. See the License for the
  13. specific language governing permissions and limitations
  14. under the License.
  15. */
  16. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  17. buildscript {
  18. ext.kotlin_version = '1.3.50'
  19. apply from: 'repositories.gradle'
  20. repositories repos
  21. dependencies {
  22. classpath 'com.android.tools.build:gradle:4.0.0'
  23. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  24. // NOTE: Do not place your application dependencies here; they belong
  25. // in the individual module build.gradle files
  26. }
  27. }
  28. allprojects {
  29. apply from: 'repositories.gradle'
  30. repositories repos
  31. //This replaces project.properties w.r.t. build settings
  32. project.ext {
  33. defaultBuildToolsVersion="29.0.2" //String
  34. defaultMinSdkVersion=22 //Integer - Minimum requirement is Android 5.1
  35. defaultTargetSdkVersion=29 //Integer - We ALWAYS target the latest by default
  36. defaultCompileSdkVersion=29 //Integer - We ALWAYS compile with the latest by default
  37. }
  38. }
  39. task clean(type: Delete) {
  40. delete rootProject.buildDir
  41. }