1d0aa434c7
This repository is deprecated and it will be shut down in the future. See http://developer.android.com/r/tools/jcenter-end-of-service for more information. JCenter will be able to resolve dependencies until February 1, 2022 without changes. After that date, there are no guarantees that you will be able to build your software if you continue to use JCenter. See https://blog.gradle.org/jcenter-shutdown for more information. Change-Id: I9bc875e0b9380a254d91481860f5efb4281c0840
41 lines
1 KiB
Groovy
41 lines
1 KiB
Groovy
buildscript {
|
|
// 1.3.21 Android 10
|
|
// 1.3.61 Android 11
|
|
// 1.4.30 Android 12
|
|
// Check:
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-12.0.0_r2/build.txt
|
|
ext.aosp_kotlin_version = '1.4.31' // 1.4.30 breaks Kotlin plugin in Android Studio
|
|
ext.kotlin_version = '1.4.31'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
dependencies {
|
|
//noinspection DifferentKotlinGradleVersion
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.17"
|
|
classpath 'com.android.tools.build:gradle:7.0.2'
|
|
}
|
|
}
|
|
|
|
ext {
|
|
buildToolsVersion = '31.0.0'
|
|
compileSdkVersion = 31
|
|
minSdkVersion = 29
|
|
targetSdkVersion = 31
|
|
}
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|