|
1 | 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. |
2 | 2 |
|
3 | 3 | buildscript { |
4 | | - ext.kotlin_version = '1.4.32' |
| 4 | + ext.kotlin_version = '2.3.0' |
5 | 5 | ext.android = [ |
6 | | - KOTLIN_VERSION : '1.4.32', |
| 6 | + KOTLIN_VERSION : '2.3.0', |
7 | 7 | MIN_SDK_VERSION : 26, |
8 | | - COMPILE_SDK_VERSION: 28, |
9 | | - TARGET_SDK_VERSION : 28, |
| 8 | + COMPILE_SDK_VERSION: 34, |
| 9 | + TARGET_SDK_VERSION : 34, |
10 | 10 | JUNIT_VERSION : "4.12" |
11 | 11 | ] |
12 | 12 |
|
13 | 13 | ext.deps = [ |
14 | 14 | "annotations" : "androidx.annotation:annotation:1.0.0", |
15 | | - "appcompat-v7" : "androidx.appcompat:appcompat:1.0.0", |
16 | | - "design" : "com.android.support:design:${ext.android.ANDROID_SUPPORT_VERSION}", |
17 | | - "cardview-v7" : "com.android.support:cardview-v7:${ext.android.ANDROID_SUPPORT_VERSION}", |
| 15 | + "appcompat-v7" : "androidx.appcompat:appcompat:1.2.0", |
18 | 16 | "kotlin-stdlib" : "org.jetbrains.kotlin:kotlin-stdlib:${ext.android.KOTLIN_VERSION}", |
19 | 17 | "kotlin-gradle-plugin": "org.jetbrains.kotlin:kotlin-gradle-plugin:${ext.android.KOTLIN_VERSION}", |
20 | 18 | "junit" : "junit:junit:${ext.android.JUNIT_VERSION}" |
21 | 19 | ] |
22 | 20 |
|
23 | 21 | repositories { |
24 | 22 | maven { url 'https://dl.google.com/dl/android/maven2/' } |
25 | | - jcenter() |
| 23 | + mavenCentral() |
26 | 24 | google() |
27 | 25 | } |
28 | 26 |
|
29 | 27 | dependencies { |
30 | | - classpath 'com.android.tools.build:gradle:4.2.2' |
| 28 | + classpath 'com.android.tools.build:gradle:8.13.2' |
31 | 29 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
32 | 30 | classpath rootProject.ext.deps["kotlin-gradle-plugin"] |
33 | 31 |
|
34 | | - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' |
35 | | - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' |
36 | | - |
37 | 32 | // NOTE: Do not place your application dependencies here; they belong |
38 | 33 | // in the individual module build.gradle files |
39 | 34 | } |
40 | 35 | } |
41 | 36 |
|
42 | 37 | allprojects { |
43 | 38 | repositories { |
44 | | - jcenter() |
45 | | - maven { url 'https://dl.google.com/dl/android/maven2/' } |
46 | 39 | mavenCentral() |
| 40 | + maven { url 'https://dl.google.com/dl/android/maven2/' } |
47 | 41 | maven { url "https://jitpack.io" } |
48 | 42 | google() |
49 | 43 | } |
|
0 commit comments