File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 28
28
with :
29
29
java-version : ' 17'
30
30
distribution : ' temurin'
31
- # cache: gradle
32
31
- name : Grant execute permission for gradlew
33
32
run : chmod +x gradlew
33
+
34
+ - name : Setup Gradle cache
35
+ uses : gradle/gradle-build-action@v2
36
+ with :
37
+ gradle-version : wrapper
38
+
34
39
- name : Clean all modules
35
40
run : ./gradlew cleanAllModules
36
41
- name : ${{ inputs.action }}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ android {
48
48
buildToolsVersion build_tools_version
49
49
50
50
kotlinOptions {
51
- jvmTarget = ' 1.8 '
51
+ jvmTarget = ' 17 '
52
52
}
53
53
}
54
54
@@ -57,6 +57,8 @@ dependencies {
57
57
implementation " androidx.annotation:annotation:$annotations_ver "
58
58
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
59
59
implementation " androidx.work:work-runtime:$work_runtime "
60
+ // Add SLF4J API for Logger interface
61
+ implementation " org.slf4j:slf4j-api:1.7.32"
60
62
61
63
testImplementation " junit:junit:$junit_ver "
62
64
testImplementation " org.mockito:mockito-core:$mockito_ver "
@@ -74,4 +76,5 @@ dependencies {
74
76
75
77
androidTestImplementation " org.mockito:mockito-core:$mockito_ver "
76
78
androidTestImplementation " org.mockito:mockito-android:$mockito_ver "
79
+ androidTestImplementation " org.slf4j:slf4j-api:1.7.32"
77
80
}
You can’t perform that action at this time.
0 commit comments