Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit cb076aa

Browse files
authored
Merge pull request #520 from owncloud/dependencies/bump_bulk
Bump several dependencies at the same time
2 parents 359e591 + 7ceef58 commit cb076aa

File tree

6 files changed

+17
-23
lines changed

6 files changed

+17
-23
lines changed

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext {
3-
kotlinVersion = '1.6.21'
4-
moshiVersion = "1.13.0"
3+
orgJetbrainsKotlin = '1.7.20'
4+
comSquareupMoshi = '1.14.0'
55
}
66

77
repositories {
@@ -10,9 +10,9 @@ buildscript {
1010
maven { url "https://plugins.gradle.org/m2/" }
1111
}
1212
dependencies {
13-
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.3.0"
14-
classpath 'com.android.tools.build:gradle:7.1.3'
15-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
13+
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.0.0"
14+
classpath 'com.android.tools.build:gradle:7.3.1'
15+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$orgJetbrainsKotlin"
1616
}
1717
}
1818

@@ -26,4 +26,4 @@ allprojects {
2626

2727
subprojects {
2828
apply plugin: "org.jlleitschuh.gradle.ktlint"
29-
}
29+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

owncloudComLibrary/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ apply plugin: 'kotlin-parcelize'
55

66
dependencies {
77
api 'com.squareup.okhttp3:okhttp:4.6.0'
8-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
8+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$orgJetbrainsKotlin"
99
api 'com.gitlab.ownclouders:dav4android:oc_support_2.1.5'
1010
api 'com.github.AppDevNext.Logcat:LogcatCore:2.2.2'
1111

1212
// Moshi
13-
implementation("com.squareup.moshi:moshi-kotlin:$moshiVersion") {
13+
implementation("com.squareup.moshi:moshi-kotlin:$comSquareupMoshi") {
1414
exclude module: "kotlin-reflect"
1515
}
1616
implementation 'org.apache.commons:commons-lang3:3.12.0'
17-
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion"
17+
kapt "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
1818

1919
testImplementation 'junit:junit:4.13.2'
2020
testImplementation 'org.robolectric:robolectric:4.9'
2121
debugImplementation 'com.facebook.stetho:stetho-okhttp3:1.6.0'
2222
}
2323

2424
android {
25-
compileSdkVersion 31
25+
compileSdkVersion 33
2626

2727
defaultConfig {
2828
minSdkVersion 21
@@ -39,4 +39,5 @@ android {
3939
includeAndroidResources = true
4040
}
4141
}
42+
namespace 'com.owncloud.android.lib'
4243
}

owncloudComLibrary/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
2424
-->
2525

26-
<manifest package="com.owncloud.android.lib"
27-
xmlns:android="http://schemas.android.com/apk/res/android">
26+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2827

2928
<!-- USE_CREDENTIALS, MANAGE_ACCOUNTS and AUTHENTICATE_ACCOUNTS are needed for API < 23.
3029
In API >= 23 the do not exist anymore -->

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCCapabilityService.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/* ownCloud Android Library is available under MIT license
22
* Copyright (C) 2022 ownCloud GmbH.
33
*
4-
* @author David González Verdugo
5-
*
64
* Permission is hereby granted, free of charge, to any person obtaining a copy
75
* of this software and associated documentation files (the "Software"), to deal
86
* in the Software without restriction, including without limitation the rights
@@ -32,8 +30,7 @@ import com.owncloud.android.lib.resources.status.GetRemoteCapabilitiesOperation
3230
import com.owncloud.android.lib.resources.status.RemoteCapability
3331
import com.owncloud.android.lib.resources.status.services.CapabilityService
3432

35-
class OCCapabilityService(override val client: OwnCloudClient) :
36-
CapabilityService {
33+
class OCCapabilityService(override val client: OwnCloudClient) : CapabilityService {
3734
override fun getCapabilities(): RemoteOperationResult<RemoteCapability> =
3835
GetRemoteCapabilitiesOperation().execute(client)
3936
}

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/* ownCloud Android Library is available under MIT license
22
* Copyright (C) 2022 ownCloud GmbH.
33
*
4-
* @author Abel García de Prada
5-
*
64
* Permission is hereby granted, free of charge, to any person obtaining a copy
75
* of this software and associated documentation files (the "Software"), to deal
86
* in the Software without restriction, including without limitation the rights
@@ -26,7 +24,6 @@
2624

2725
package com.owncloud.android.lib.resources.status.services.implementation
2826

29-
3027
import com.owncloud.android.lib.common.OwnCloudClient
3128
import com.owncloud.android.lib.common.operations.RemoteOperationResult
3229
import com.owncloud.android.lib.resources.files.CheckPathExistenceRemoteOperation
@@ -39,16 +36,16 @@ class OCServerInfoService : ServerInfoService {
3936
override fun checkPathExistence(
4037
path: String,
4138
isUserLoggedIn: Boolean,
42-
client: OwnCloudClient
39+
client: OwnCloudClient,
4340
): RemoteOperationResult<Boolean> =
4441
CheckPathExistenceRemoteOperation(
4542
remotePath = path,
46-
isUserLoggedIn = true
43+
isUserLoggedIn = true,
4744
).execute(client)
4845

4946
override fun getRemoteStatus(
5047
path: String,
51-
client: OwnCloudClient
48+
client: OwnCloudClient,
5249
): RemoteOperationResult<RemoteServerInfo> =
5350
GetRemoteStatusOperation().execute(client)
5451
}

0 commit comments

Comments
 (0)