@@ -10,7 +10,7 @@ def getVersionName = { ->
10
10
}
11
11
12
12
android {
13
- compileSdkVersion 32
13
+ compileSdk 34
14
14
15
15
defaultConfig {
16
16
applicationId " org.xbmc.kore"
@@ -99,27 +99,27 @@ ext {
99
99
}
100
100
101
101
dependencies {
102
- implementation ' com.google.android.material:material:1.6.1 '
103
- implementation ' androidx.preference:preference:1.2.0 '
104
- implementation ' androidx.appcompat:appcompat:1.5 .1'
105
- implementation ' androidx.recyclerview:recyclerview:1.2.1 '
102
+ implementation ' com.google.android.material:material:1.10.0 '
103
+ implementation ' androidx.preference:preference:1.2.1 '
104
+ implementation ' androidx.appcompat:appcompat:1.6 .1'
105
+ implementation ' androidx.recyclerview:recyclerview:1.3.2 '
106
106
implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
107
- implementation(' androidx.core:core-google-shortcuts:1.0.1 ' ) {
107
+ implementation(' androidx.core:core-google-shortcuts:1.1.0 ' ) {
108
108
exclude group :' com.google.android.gms'
109
109
}
110
110
implementation ' androidx.media:media:1.6.0'
111
- implementation " androidx.viewpager2:viewpager2:1.1.0-beta01 "
111
+ implementation " androidx.viewpager2:viewpager2:1.1.0-beta02 "
112
112
implementation " androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
113
113
114
- implementation " androidx.fragment:fragment:1.5 .2"
115
- implementation " androidx.fragment:fragment-ktx:1.5 .2"
114
+ implementation " androidx.fragment:fragment:1.6 .2"
115
+ implementation " androidx.fragment:fragment-ktx:1.6 .2"
116
116
117
117
// Dependency resolution
118
- implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1 "
119
- implementation " androidx.lifecycle:lifecycle-viewmodel:2.5.1 "
118
+ implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2 "
119
+ implementation " androidx.lifecycle:lifecycle-viewmodel:2.6.2 "
120
120
121
121
implementation ' com.fasterxml.jackson.core:jackson-databind:2.13.3'
122
- implementation ' com.squareup.okhttp3:okhttp:4.10 .0'
122
+ implementation ' com.squareup.okhttp3:okhttp:4.11 .0'
123
123
implementation ' com.squareup.picasso:picasso:2.71828'
124
124
implementation ' org.greenrobot:eventbus:3.3.1'
125
125
implementation ' org.jmdns:jmdns:3.5.7'
@@ -129,24 +129,25 @@ dependencies {
129
129
130
130
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
131
131
132
- androidTestImplementation ' androidx.test.ext:junit:1.1.3 '
133
- androidTestImplementation ' androidx.test:rules:1.4 .0'
134
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0 '
135
- androidTestImplementation ' androidx.test.espresso:espresso-contrib:3.4.0 '
132
+ androidTestImplementation ' androidx.test.ext:junit:1.1.5 '
133
+ androidTestImplementation ' androidx.test:rules:1.5 .0'
134
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1 '
135
+ androidTestImplementation ' androidx.test.espresso:espresso-contrib:3.5.1 '
136
136
androidTestImplementation ' androidx.legacy:legacy-support-v13:1.0.0'
137
137
androidTestImplementation ' org.hamcrest:hamcrest-library:2.2'
138
138
androidTestImplementation ' junit:junit:4.13.2'
139
- androidTestUtil ' androidx.test:orchestrator:1.4.1 '
139
+ androidTestUtil ' androidx.test:orchestrator:1.4.2 '
140
140
141
141
testImplementation ' org.robolectric:robolectric:4.8.1'
142
- testImplementation ' androidx.test:core:1.4 .0'
143
- testImplementation ' androidx.test.ext:junit:1.1.3 '
142
+ testImplementation ' androidx.test:core:1.5 .0'
143
+ testImplementation ' androidx.test.ext:junit:1.1.5 '
144
144
debugImplementation ' junit:junit:4.13.2'
145
145
}
146
146
147
147
def adb = android. getAdbExecutable(). toString()
148
148
afterEvaluate {
149
- task grantAnimationPermissionDev(type : Exec , dependsOn : installDebug) {
149
+ tasks. register(' grantAnimationPermissionDev' , Exec ) {
150
+ dependsOn installDebug
150
151
doFirst {
151
152
println (" Executing: $adb shell pm grant $android . defaultConfig . applicationId android.permission.SET_ANIMATION_SCALE" )
152
153
commandLine " $adb shell pm grant $android . defaultConfig . applicationId android.permission.SET_ANIMATION_SCALE" . split(' ' )
@@ -162,12 +163,12 @@ afterEvaluate {
162
163
/**
163
164
* Makes sure assets are copied before running the unit tests
164
165
*/
165
- tasks. whenTaskAdded { task ->
166
+ tasks. configureEach { task ->
166
167
if (task. name. contains(" testDebugUnitTest" )) {
167
168
task. dependsOn assembleDebug
168
169
}
169
170
}
170
171
171
- tasks. withType(JavaCompile ) {
172
+ tasks. withType(JavaCompile ). configureEach {
172
173
options. compilerArgs << ' -Xlint:unchecked' // << '-Xlint:deprecation'
173
174
}
0 commit comments