@@ -2,18 +2,13 @@ apply plugin: 'com.android.application'
22apply plugin : ' org.jetbrains.kotlin.android'
33
44android {
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'
127
138 defaultConfig {
149 applicationId " it.niedermann.owncloud.notes"
15- minSdkVersion 24
16- targetSdkVersion 33
10+ minSdk 24
11+ targetSdk 34
1712 versionCode 40020000
1813 versionName " 4.2.0 Alpha1"
1914 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -24,8 +19,19 @@ android {
2419 }
2520 }
2621
22+ compileOptions {
23+ coreLibraryDesugaringEnabled true
24+ sourceCompatibility JavaVersion . VERSION_17
25+ targetCompatibility JavaVersion . VERSION_17
26+ }
27+
28+ kotlinOptions {
29+ jvmTarget = ' 17'
30+ }
31+
2732 buildFeatures {
2833 viewBinding true
34+ buildConfig true
2935 }
3036
3137 buildTypes {
@@ -40,7 +46,7 @@ android {
4046 }
4147
4248
43- flavorDimensions " version"
49+ flavorDimensions = [ " version" ]
4450
4551 productFlavors {
4652 fdroid {
@@ -60,25 +66,25 @@ android {
6066 includeAndroidResources true
6167 }
6268 }
63- lint {
69+
70+ lintOptions {
6471 abortOnError false
6572 disable ' MissingTranslation'
6673 }
67- namespace ' it.niedermann.owncloud.notes'
6874}
6975
7076ext {
7177 glideVersion = ' 4.16.0'
72- roomVersion = " 2.5 .1"
78+ roomVersion = " 2.6 .1"
7379}
7480
7581dependencies {
76- coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.3 '
82+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:2.0.4 '
7783
7884 // 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 '
8288 implementation " com.github.stefan-niedermann.nextcloud-commons:sso-glide:$commonsVersion "
8389 implementation " com.github.stefan-niedermann.nextcloud-commons:exception:$commonsVersion "
8490 implementation(" com.github.stefan-niedermann.nextcloud-commons:markdown:$commonsVersion " ) {
@@ -91,16 +97,16 @@ dependencies {
9197
9298 // Android X
9399 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 '
95101 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 '
98104 implementation ' androidx.preference:preference:1.2.1'
99105 implementation ' androidx.recyclerview:recyclerview-selection:1.1.0'
100106 implementation ' androidx.recyclerview:recyclerview:1.3.2'
101107 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'
104110
105111 // Database
106112 implementation " androidx.room:room-runtime:${ roomVersion} "
@@ -120,7 +126,7 @@ dependencies {
120126 testImplementation ' androidx.test:core:1.5.0'
121127 testImplementation ' androidx.arch.core:core-testing:2.2.0'
122128 testImplementation ' junit:junit:4.13.2'
123- testImplementation ' org.mockito:mockito-core:5.7 .0'
129+ testImplementation ' org.mockito:mockito-core:5.9 .0'
124130 testImplementation ' org.robolectric:robolectric:4.11.1'
125131
126132 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
0 commit comments