blob: 6c90483f1c75ce7fb867daf376d76f318728af18 [file] [log] [blame]
Steve Soltyse8720182018-11-07 22:04:37 -05001buildscript {
Torsten Grote415b5722020-09-09 16:46:30 -03002 // 1.3.61 Android 11
Torsten Grote7f4b5652021-10-07 13:44:55 -03003 // 1.4.30 Android 12
Aayush Guptac48aa732022-08-19 11:10:30 +05304 // 1.6.10 Android 13
Torsten Grote415b5722020-09-09 16:46:30 -03005 // Check:
Aayush Guptac48aa732022-08-19 11:10:30 +05306 // https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r3/build.txt
7 ext.aosp_kotlin_version = '1.6.10' // 1.6.10-release-923 in AOSP
8 ext.kotlin_version = '1.6.10'
Torsten Grote3d5911d2019-07-03 19:44:37 +02009
Steve Soltyse8720182018-11-07 22:04:37 -050010 repositories {
Torsten Grotea762d1b2021-06-18 17:30:07 -030011 mavenCentral()
Steve Soltyse8720182018-11-07 22:04:37 -050012 google()
13 }
14 dependencies {
Torsten Groted2ed3a12020-09-15 17:16:22 -030015 //noinspection DifferentKotlinGradleVersion
Torsten Grote3d5911d2019-07-03 19:44:37 +020016 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Torsten Grote7f4b5652021-10-07 13:44:55 -030017 classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.17"
Aayush Gupta68cef192022-08-19 10:58:53 +053018 classpath 'com.android.tools.build:gradle:7.2.2'
Steve Soltyse8720182018-11-07 22:04:37 -050019 }
20}
21
Torsten Grote6c633b72021-01-19 09:14:52 -030022ext {
Aayush Guptadd49a472022-08-19 21:36:21 +053023 buildToolsVersion = '33.0.0'
24 compileSdkVersion = 33
Torsten Grote82f23b72022-08-23 09:50:55 -030025 minSdkVersion = 32
Aayush Guptadd49a472022-08-19 21:36:21 +053026 targetSdkVersion = 33
Torsten Grote6c633b72021-01-19 09:14:52 -030027}
28
29apply from: 'gradle/dependencies.gradle'
30
Steve Soltyse8720182018-11-07 22:04:37 -050031allprojects {
32 repositories {
Torsten Grote3d5911d2019-07-03 19:44:37 +020033 mavenCentral()
Steve Soltyse8720182018-11-07 22:04:37 -050034 google()
Torsten Grote2ce625a2019-07-09 19:22:24 +020035 maven { url 'https://jitpack.io' }
Steve Soltyse8720182018-11-07 22:04:37 -050036 }
37}
38
39task clean(type: Delete) {
40 delete rootProject.buildDir
41}