-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (54 loc) · 2.04 KB
/
Copy pathbuild.gradle
File metadata and controls
64 lines (54 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Nextcloud Android Common Library
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2022-2023 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
* SPDX-FileCopyrightText: 2023 Alper Ozturk <alper.ozturk@nextcloud.com>
* SPDX-FileCopyrightText: 2014 Marcello Steiner <steiner.marcello@gmail.com>
* SPDX-License-Identifier: MIT
*/
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:9.1.1'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.8"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
}
}
apply plugin: 'com.android.application'
apply from: "$rootProject.projectDir/jacoco.gradle"
repositories {
google()
}
android {
compileSdk = 36
packagingOptions {
resources {
excludes += 'META-INF/versions/9/OSGI-INF/MANIFEST*'
pickFirst 'MANIFEST.MF' // workaround for duplicated manifest on some dependencies
}
}
defaultConfig {
minSdkVersion 23
targetSdkVersion 36
multiDexEnabled = true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
namespace = 'com.owncloud.android.lib.sampleclient'
lint {
abortOnError false
}
}
dependencies {
implementation project(path: ':library')
implementation "commons-httpclient:commons-httpclient:3.1@jar"
// remove after entire switch to lib v2
implementation "org.jacoco:org.jacoco.agent:$jacoco_version:runtime"
implementation 'androidx.test:monitor:1.8.0'
androidTestImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:monitor:1.8.0'
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
androidTestImplementation 'androidx.test:runner:1.7.0'
}