@@ -2,18 +2,13 @@ apply plugin: 'com.android.application'
2
2
apply plugin : ' org.jetbrains.kotlin.android'
3
3
4
4
android {
5
- compileSdkVersion 33
6
-
7
- compileOptions {
8
- coreLibraryDesugaringEnabled true
9
- sourceCompatibility JavaVersion . VERSION_11
10
- targetCompatibility JavaVersion . VERSION_11
11
- }
5
+ compileSdk 34
6
+ namespace ' it.niedermann.owncloud.notes'
12
7
13
8
defaultConfig {
14
9
applicationId " it.niedermann.owncloud.notes"
15
- minSdkVersion 24
16
- targetSdkVersion 33
10
+ minSdk 24
11
+ targetSdk 34
17
12
versionCode 40020000
18
13
versionName " 4.2.0 Alpha1"
19
14
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -24,8 +19,19 @@ android {
24
19
}
25
20
}
26
21
22
+ compileOptions {
23
+ coreLibraryDesugaringEnabled true
24
+ sourceCompatibility JavaVersion . VERSION_17
25
+ targetCompatibility JavaVersion . VERSION_17
26
+ }
27
+
28
+ kotlinOptions {
29
+ jvmTarget = ' 17'
30
+ }
31
+
27
32
buildFeatures {
28
33
viewBinding true
34
+ buildConfig true
29
35
}
30
36
31
37
buildTypes {
@@ -40,7 +46,7 @@ android {
40
46
}
41
47
42
48
43
- flavorDimensions " version"
49
+ flavorDimensions = [ " version" ]
44
50
45
51
productFlavors {
46
52
fdroid {
@@ -60,25 +66,25 @@ android {
60
66
includeAndroidResources true
61
67
}
62
68
}
63
- lint {
69
+
70
+ lintOptions {
64
71
abortOnError false
65
72
disable ' MissingTranslation'
66
73
}
67
- namespace ' it.niedermann.owncloud.notes'
68
74
}
69
75
70
76
ext {
71
77
glideVersion = ' 4.16.0'
72
- roomVersion = " 2.5 .1"
78
+ roomVersion = " 2.6 .1"
73
79
}
74
80
75
81
dependencies {
76
- coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.3 '
82
+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.4 '
77
83
78
84
// Nextcloud SSO
79
- implementation ' com.github.nextcloud.android-common:ui:0.12 .0'
80
- implementation ' com.github.nextcloud:Android-SingleSignOn:0.8.1 '
81
- implementation ' com.github.stefan-niedermann:android-commons:0.2.9 '
85
+ implementation ' com.github.nextcloud.android-common:ui:0.13 .0'
86
+ implementation ' com.github.nextcloud:Android-SingleSignOn:1.0.0 '
87
+ implementation ' com.github.stefan-niedermann:android-commons:1.0.0 '
82
88
implementation " com.github.stefan-niedermann.nextcloud-commons:sso-glide:$commonsVersion "
83
89
implementation " com.github.stefan-niedermann.nextcloud-commons:exception:$commonsVersion "
84
90
implementation(" com.github.stefan-niedermann.nextcloud-commons:markdown:$commonsVersion " ) {
@@ -91,16 +97,16 @@ dependencies {
91
97
92
98
// Android X
93
99
implementation ' androidx.appcompat:appcompat:1.6.1'
94
- implementation ' androidx.core:core-ktx:1.10.1 '
100
+ implementation ' androidx.core:core-ktx:1.12.0 '
95
101
implementation ' androidx.core:core-splashscreen:1.0.1'
96
- implementation ' androidx.fragment:fragment:1.6.1 '
97
- implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2 '
102
+ implementation ' androidx.fragment:fragment:1.6.2 '
103
+ implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0 '
98
104
implementation ' androidx.preference:preference:1.2.1'
99
105
implementation ' androidx.recyclerview:recyclerview-selection:1.1.0'
100
106
implementation ' androidx.recyclerview:recyclerview:1.3.2'
101
107
implementation ' androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
102
- implementation ' androidx.work:work-runtime:2.8.1 '
103
- implementation ' com.google.android.material:material:1.9 .0'
108
+ implementation ' androidx.work:work-runtime:2.9.0 '
109
+ implementation ' com.google.android.material:material:1.11 .0'
104
110
105
111
// Database
106
112
implementation " androidx.room:room-runtime:${ roomVersion} "
@@ -120,7 +126,7 @@ dependencies {
120
126
testImplementation ' androidx.test:core:1.5.0'
121
127
testImplementation ' androidx.arch.core:core-testing:2.2.0'
122
128
testImplementation ' junit:junit:4.13.2'
123
- testImplementation ' org.mockito:mockito-core:5.7 .0'
129
+ testImplementation ' org.mockito:mockito-core:5.9 .0'
124
130
testImplementation ' org.robolectric:robolectric:4.11.1'
125
131
126
132
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
0 commit comments