2018-11-07 22:04:37 -05:00
|
|
|
buildscript {
|
2020-09-09 16:46:30 -03:00
|
|
|
// 1.3.61 Android 11
|
2021-10-07 13:44:55 -03:00
|
|
|
// 1.4.30 Android 12
|
2022-08-19 11:10:30 +05:30
|
|
|
// 1.6.10 Android 13
|
2020-09-09 16:46:30 -03:00
|
|
|
// Check:
|
2022-08-19 11:10:30 +05:30
|
|
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r3/build.txt
|
|
|
|
ext.aosp_kotlin_version = '1.6.10' // 1.6.10-release-923 in AOSP
|
|
|
|
ext.kotlin_version = '1.6.10'
|
2019-07-03 19:44:37 +02:00
|
|
|
|
2018-11-07 22:04:37 -05:00
|
|
|
repositories {
|
2021-06-18 17:30:07 -03:00
|
|
|
mavenCentral()
|
2018-11-07 22:04:37 -05:00
|
|
|
google()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-09-15 17:16:22 -03:00
|
|
|
//noinspection DifferentKotlinGradleVersion
|
2019-07-03 19:44:37 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-10-07 13:44:55 -03:00
|
|
|
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.17"
|
2022-08-19 10:58:53 +05:30
|
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
2018-11-07 22:04:37 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-19 09:14:52 -03:00
|
|
|
ext {
|
2022-08-19 21:36:21 +05:30
|
|
|
buildToolsVersion = '33.0.0'
|
|
|
|
compileSdkVersion = 33
|
2022-08-23 09:50:55 -03:00
|
|
|
minSdkVersion = 32
|
2022-08-19 21:36:21 +05:30
|
|
|
targetSdkVersion = 33
|
2021-01-19 09:14:52 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
apply from: 'gradle/dependencies.gradle'
|
|
|
|
|
2018-11-07 22:04:37 -05:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2019-07-03 19:44:37 +02:00
|
|
|
mavenCentral()
|
2018-11-07 22:04:37 -05:00
|
|
|
google()
|
2019-07-09 19:22:24 +02:00
|
|
|
maven { url 'https://jitpack.io' }
|
2018-11-07 22:04:37 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|