-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
executable file
·115 lines (97 loc) · 3.79 KB
/
build.gradle
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
* @Copyright 2018-2023 HardBackNutter
* @License GNU General Public License
*
* This file is part of NeverTooManyBooks.
*
* NeverTooManyBooks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* NeverTooManyBooks is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NeverTooManyBooks. If not, see <http://www.gnu.org/licenses/>.
*/
plugins {
id("com.android.application") version '8.2.1' apply false
id("com.android.library") version '8.2.1' apply false
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.android
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
// https://github.com/mannodermaus/android-junit5
// Don't forget to update ext.mannodermausVersion
id("de.mannodermaus.android-junit5") version "1.10.0.0" apply false
}
tasks.register("clean", Delete) {
delete(rootProject.layout.buildDirectory)
}
ext {
applicationId = "com.hardbacknutter.nevertoomanybooks"
applicationVersionCode = 72
applicationVersionName = "5.3.0"
// see NOTES.txt
// https://gs.statcounter.com/os-version-market-share/android/mobile-tablet/worldwide
// 2023-10-04 world wide:
// 13.0 34.90
// 12.0 53.85
// 11.0 72.59
// 10.0 81.64
// 9.0 88.66
// 8.1 91.16
// 8.0 94.23
minSdkVersion = 26
targetSdkVersion = 34
compileSdkVersion = 34
// https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md
desugarVersion = '2.0.4'
// https://developer.android.com/jetpack/androidx/versions
androidxActivityVersion = '1.8.2'
androidxAnnotationVersion = '1.7.1'
androidxAppcompatVersion = "1.6.1"
androidxCameraxVersion = '1.3.1'
androidxCardviewVersion = "1.0.0"
androidxCollectionVersion = '1.3.0'
androidxConstraintlayoutCoreVersion = "1.0.4"
androidxConstraintlayoutVersion = "2.1.4"
androidxCoordinatorlayoutVersion = "1.2.0"
androidxCoreVersion = "1.12.0"
androidxCustomviewVersion = "1.2.0-alpha02"
androidxDocumentfileVersion = "1.1.0-alpha01"
androidxDrawerlayoutVersion = "1.2.0"
androidxExifinterfaceVersion = '1.3.7'
androidxFragmentVersion = '1.6.2'
androidxInterpolatorVersion = "1.0.0"
androidxLifecycleVersion = '2.7.0'
androidxPreferenceVersion = "1.2.1"
androidxRecyclerviewVersion = '1.3.2'
// androidxSlidingpanelayoutVersion = "1.2.0"
androidxViewpager2Version = "1.1.0-beta02"
androidxWindowVersion = '1.2.0'
// https://github.com/material-components/material-components-android/releases
googleMaterialVersion = '1.11.0'
// googleAutoServiceVersion = "1.1.1"
// https://jsoup.org/
jsoupVersion = '1.17.2'
// https://github.com/tfonteyn/TinyZXingWrapper
tinyZxingWrapperVersion = "1.0.0"
// https://github.com/zxing/zxing
zxingCoreVersion = "3.5.2"
// https://github.com/ACRA/acra
acraVersion = '5.11.3'
// https://github.com/mockito/mockito
mockitoVersion = '5.8.0'
// https://junit.org/junit5/docs/current/user-guide/#overview
jupiterVersion = '5.10.1'
// https://developer.android.com/jetpack/androidx/releases/test
androidxArchCoreTestingVersion = "2.2.0"
androidxTestCoreVersion = "1.5.0"
androidxTestRunnerVersion = "1.5.2"
androidxTestRulesVersion = "1.5.0"
// needed for testing
kotlinxCoroutinesCoreVersion = '1.7.3'
mannodermausVersion = '1.4.0'
}