mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Merge pull request #520 from owncloud/dependencies/bump_bulk
Bump several dependencies at the same time
This commit is contained in:
commit
cb076aa6b9
12
build.gradle
12
build.gradle
@ -1,7 +1,7 @@
|
||||
buildscript {
|
||||
ext {
|
||||
kotlinVersion = '1.6.21'
|
||||
moshiVersion = "1.13.0"
|
||||
orgJetbrainsKotlin = '1.7.20'
|
||||
comSquareupMoshi = '1.14.0'
|
||||
}
|
||||
|
||||
repositories {
|
||||
@ -10,9 +10,9 @@ buildscript {
|
||||
maven { url "https://plugins.gradle.org/m2/" }
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.3.0"
|
||||
classpath 'com.android.tools.build:gradle:7.1.3'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.0.0"
|
||||
classpath 'com.android.tools.build:gradle:7.3.1'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$orgJetbrainsKotlin"
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,4 +26,4 @@ allprojects {
|
||||
|
||||
subprojects {
|
||||
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
||||
}
|
||||
}
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -5,16 +5,16 @@ apply plugin: 'kotlin-parcelize'
|
||||
|
||||
dependencies {
|
||||
api 'com.squareup.okhttp3:okhttp:4.6.0'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$orgJetbrainsKotlin"
|
||||
api 'com.gitlab.ownclouders:dav4android:oc_support_2.1.5'
|
||||
api 'com.github.AppDevNext.Logcat:LogcatCore:2.2.2'
|
||||
|
||||
// Moshi
|
||||
implementation("com.squareup.moshi:moshi-kotlin:$moshiVersion") {
|
||||
implementation("com.squareup.moshi:moshi-kotlin:$comSquareupMoshi") {
|
||||
exclude module: "kotlin-reflect"
|
||||
}
|
||||
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion"
|
||||
kapt "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.robolectric:robolectric:4.9'
|
||||
@ -22,7 +22,7 @@ dependencies {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
compileSdkVersion 33
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
@ -39,4 +39,5 @@ android {
|
||||
includeAndroidResources = true
|
||||
}
|
||||
}
|
||||
namespace 'com.owncloud.android.lib'
|
||||
}
|
||||
|
@ -23,8 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
<manifest package="com.owncloud.android.lib"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- USE_CREDENTIALS, MANAGE_ACCOUNTS and AUTHENTICATE_ACCOUNTS are needed for API < 23.
|
||||
In API >= 23 the do not exist anymore -->
|
||||
|
@ -1,8 +1,6 @@
|
||||
/* ownCloud Android Library is available under MIT license
|
||||
* Copyright (C) 2022 ownCloud GmbH.
|
||||
*
|
||||
* @author David González Verdugo
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
@ -32,8 +30,7 @@ import com.owncloud.android.lib.resources.status.GetRemoteCapabilitiesOperation
|
||||
import com.owncloud.android.lib.resources.status.RemoteCapability
|
||||
import com.owncloud.android.lib.resources.status.services.CapabilityService
|
||||
|
||||
class OCCapabilityService(override val client: OwnCloudClient) :
|
||||
CapabilityService {
|
||||
class OCCapabilityService(override val client: OwnCloudClient) : CapabilityService {
|
||||
override fun getCapabilities(): RemoteOperationResult<RemoteCapability> =
|
||||
GetRemoteCapabilitiesOperation().execute(client)
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
/* ownCloud Android Library is available under MIT license
|
||||
* Copyright (C) 2022 ownCloud GmbH.
|
||||
*
|
||||
* @author Abel García de Prada
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
@ -26,7 +24,6 @@
|
||||
|
||||
package com.owncloud.android.lib.resources.status.services.implementation
|
||||
|
||||
|
||||
import com.owncloud.android.lib.common.OwnCloudClient
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult
|
||||
import com.owncloud.android.lib.resources.files.CheckPathExistenceRemoteOperation
|
||||
@ -39,16 +36,16 @@ class OCServerInfoService : ServerInfoService {
|
||||
override fun checkPathExistence(
|
||||
path: String,
|
||||
isUserLoggedIn: Boolean,
|
||||
client: OwnCloudClient
|
||||
client: OwnCloudClient,
|
||||
): RemoteOperationResult<Boolean> =
|
||||
CheckPathExistenceRemoteOperation(
|
||||
remotePath = path,
|
||||
isUserLoggedIn = true
|
||||
isUserLoggedIn = true,
|
||||
).execute(client)
|
||||
|
||||
override fun getRemoteStatus(
|
||||
path: String,
|
||||
client: OwnCloudClient
|
||||
client: OwnCloudClient,
|
||||
): RemoteOperationResult<RemoteServerInfo> =
|
||||
GetRemoteStatusOperation().execute(client)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user