Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 1 | buildscript { |
Torsten Grote | 415b572 | 2020-09-09 16:46:30 -0300 | [diff] [blame] | 2 | // 1.3.61 Android 11 |
Torsten Grote | 7f4b565 | 2021-10-07 13:44:55 -0300 | [diff] [blame] | 3 | // 1.4.30 Android 12 |
Aayush Gupta | c48aa73 | 2022-08-19 11:10:30 +0530 | [diff] [blame] | 4 | // 1.6.10 Android 13 |
Torsten Grote | 415b572 | 2020-09-09 16:46:30 -0300 | [diff] [blame] | 5 | // Check: |
Aayush Gupta | c48aa73 | 2022-08-19 11:10:30 +0530 | [diff] [blame] | 6 | // 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 Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 9 | |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 10 | repositories { |
Torsten Grote | a762d1b | 2021-06-18 17:30:07 -0300 | [diff] [blame] | 11 | mavenCentral() |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 12 | google() |
| 13 | } |
| 14 | dependencies { |
Torsten Grote | d2ed3a1 | 2020-09-15 17:16:22 -0300 | [diff] [blame] | 15 | //noinspection DifferentKotlinGradleVersion |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 16 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
Torsten Grote | 7f4b565 | 2021-10-07 13:44:55 -0300 | [diff] [blame] | 17 | classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.17" |
Aayush Gupta | 68cef19 | 2022-08-19 10:58:53 +0530 | [diff] [blame] | 18 | classpath 'com.android.tools.build:gradle:7.2.2' |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 19 | } |
| 20 | } |
| 21 | |
Torsten Grote | 6c633b7 | 2021-01-19 09:14:52 -0300 | [diff] [blame] | 22 | ext { |
Aayush Gupta | dd49a47 | 2022-08-19 21:36:21 +0530 | [diff] [blame] | 23 | buildToolsVersion = '33.0.0' |
| 24 | compileSdkVersion = 33 |
Torsten Grote | 82f23b7 | 2022-08-23 09:50:55 -0300 | [diff] [blame] | 25 | minSdkVersion = 32 |
Aayush Gupta | dd49a47 | 2022-08-19 21:36:21 +0530 | [diff] [blame] | 26 | targetSdkVersion = 33 |
Torsten Grote | 6c633b7 | 2021-01-19 09:14:52 -0300 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | apply from: 'gradle/dependencies.gradle' |
| 30 | |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 31 | allprojects { |
| 32 | repositories { |
Torsten Grote | 3d5911d | 2019-07-03 19:44:37 +0200 | [diff] [blame] | 33 | mavenCentral() |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 34 | google() |
Torsten Grote | 2ce625a | 2019-07-09 19:22:24 +0200 | [diff] [blame] | 35 | maven { url 'https://jitpack.io' } |
Steve Soltys | e872018 | 2018-11-07 22:04:37 -0500 | [diff] [blame] | 36 | } |
| 37 | } |
| 38 | |
| 39 | task clean(type: Delete) { |
| 40 | delete rootProject.buildDir |
| 41 | } |