|
1 | | -apply plugin: 'com.android.application' |
2 | | - |
3 | | -apply plugin: 'kotlin-android' |
4 | | - |
5 | | -apply plugin: 'kotlin-android-extensions' |
| 1 | +plugins { |
| 2 | + alias(libs.plugins.android.application) |
| 3 | + alias(libs.plugins.kotlin.android) |
| 4 | +} |
6 | 5 |
|
7 | 6 | android { |
8 | 7 | compileSdkVersion 31 |
@@ -31,20 +30,20 @@ def isMaven = false |
31 | 30 |
|
32 | 31 | dependencies { |
33 | 32 | implementation fileTree(include: ['*.jar'], dir: 'libs') |
34 | | - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
35 | | - implementation "org.jetbrains.anko:anko:$anko_version" |
36 | | - implementation "org.jetbrains.anko:anko-commons:$anko_version" |
| 33 | + implementation libs.kotlin.stdlib8 |
| 34 | +// implementation "org.jetbrains.anko:anko:$anko_version" |
| 35 | +// implementation "org.jetbrains.anko:anko-commons:$anko_version" |
37 | 36 |
|
38 | | - implementation "io.github.ayvytr:ktx-androidx:3.0.6" |
| 37 | + implementation libs.ktx.androidx |
39 | 38 |
|
40 | | - implementation 'androidx.constraintlayout:constraintlayout:2.0.4' |
41 | | - implementation 'androidx.recyclerview:recyclerview:1.0.0' |
42 | | - implementation 'androidx.appcompat:appcompat:1.3.0' |
43 | | - testImplementation 'junit:junit:4.12' |
44 | | - androidTestImplementation 'androidx.test.ext:junit:1.1.1' |
45 | | - androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' |
| 39 | + implementation libs.constraintlayout |
| 40 | + implementation libs.recyclerview |
| 41 | + implementation libs.androidx.appcompat |
| 42 | + testImplementation libs.junit |
| 43 | + androidTestImplementation libs.androidx.junit |
| 44 | + androidTestImplementation libs.androidx.espresso.core |
46 | 45 |
|
47 | | - implementation 'com.github.bumptech.glide:glide:4.8.0' |
| 46 | + implementation libs.glide |
48 | 47 | annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' |
49 | 48 |
|
50 | 49 | if(isMaven) { |
|
0 commit comments