Commit c316088 1 parent a3224d8 commit c316088 Copy full SHA for c316088
File tree 5 files changed +38
-13
lines changed
5 files changed +38
-13
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ android {
35
35
}
36
36
37
37
dependencies {
38
- implementation(" androidx .appcompat:appcompat:1.7.0 " )
38
+ implementation(libs .appcompat)
39
39
implementation(project(" :library" ))
40
- implementation(" androidx .core:core-ktx:1.15.0 " )
41
- implementation(" org.jetbrains. kotlin:kotlin- stdlib-jdk7:2.1.0 " )
40
+ implementation(libs .core.ktx )
41
+ implementation(libs. kotlin. stdlib.jdk7 )
42
42
43
- testImplementation(" junit:junit:4.13.2 " )
44
- androidTestImplementation(" androidx.test.ext: junit-ktx:1.2.1 " )
45
- androidTestUtil(" androidx .test.services:test-services:1.5.0 " )
46
- androidTestImplementation(" androidx.test. espresso:espresso-core:3.6.1 " )
43
+ testImplementation(libs.junit )
44
+ androidTestImplementation(libs. junit.ktx )
45
+ androidTestUtil(libs .test.services)
46
+ androidTestImplementation(libs. espresso.core )
47
47
}
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ buildscript {
4
4
mavenCentral()
5
5
}
6
6
dependencies {
7
- classpath(" com.android.tools.build: gradle:8.7.3 " )
8
- classpath(" org.jetbrains. kotlin:kotlin- gradle-plugin:2.1.0 " )
7
+ classpath(libs. gradle)
8
+ classpath(libs. kotlin. gradle.plugin )
9
9
}
10
10
}
11
11
Original file line number Diff line number Diff line change
1
+ [versions ]
2
+ appcompat = " 1.7.0"
3
+ coreKtx = " 1.15.0"
4
+ espressoCore = " 3.6.1"
5
+ gradle = " 8.7.3"
6
+ junit = " 4.13.2"
7
+ junitKtx = " 1.2.1"
8
+ kotlinGradlePlugin = " 2.1.0"
9
+ ksp = " 2.1.0-1.0.29"
10
+ recyclerview = " 1.3.2"
11
+ testServices = " 1.5.0"
12
+
13
+ [libraries ]
14
+ appcompat = { module = " androidx.appcompat:appcompat" , version.ref = " appcompat" }
15
+ core-ktx = { module = " androidx.core:core-ktx" , version.ref = " coreKtx" }
16
+ espresso-core = { module = " androidx.test.espresso:espresso-core" , version.ref = " espressoCore" }
17
+ gradle = { module = " com.android.tools.build:gradle" , version.ref = " gradle" }
18
+ junit = { module = " junit:junit" , version.ref = " junit" }
19
+ junit-ktx = { module = " androidx.test.ext:junit-ktx" , version.ref = " junitKtx" }
20
+ kotlin-gradle-plugin = { module = " org.jetbrains.kotlin:kotlin-gradle-plugin" , version.ref = " kotlinGradlePlugin" }
21
+ kotlin-stdlib-jdk7 = { module = " org.jetbrains.kotlin:kotlin-stdlib-jdk7" , version.ref = " kotlinGradlePlugin" }
22
+ recyclerview = { module = " androidx.recyclerview:recyclerview" , version.ref = " recyclerview" }
23
+ test-services = { module = " androidx.test.services:test-services" , version.ref = " testServices" }
24
+
25
+ [plugins ]
26
+ ksp = { id = " com.google.devtools.ksp" , version.ref = " ksp" }
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ android {
9
9
defaultConfig {
10
10
minSdk = 21
11
11
compileSdk = 35
12
- targetSdk = 35
13
12
14
13
testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
15
14
}
@@ -26,9 +25,9 @@ android {
26
25
}
27
26
28
27
dependencies {
29
- implementation(" androidx .recyclerview:recyclerview:1.3.2 " )
30
- implementation(" androidx .core:core-ktx:1.15.0 " )
31
- implementation(" org.jetbrains. kotlin:kotlin- stdlib-jdk7:2.1.0 " )
28
+ implementation(libs .recyclerview)
29
+ implementation(libs .core.ktx )
30
+ implementation(libs. kotlin. stdlib.jdk7 )
32
31
}
33
32
34
33
afterEvaluate {
You can’t perform that action at this time.
0 commit comments