-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
121 lines (99 loc) · 3.47 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
116
117
118
119
120
121
apply plugin: 'com.android.application'
android {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools
namespace 'org.juanro.autumandu'
defaultConfig {
applicationId "org.juanro.autumandu"
minSdkVersion 21
targetSdk versions.targetSdk
versionCode 404
versionName "4.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
}
signingConfigs {
release {
keyAlias signing_key_alias
keyPassword signing_key_password
storeFile file(signing_key_store_file)
storePassword signing_key_store_password
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
buildFeatures {
buildConfig = true
}
flavorDimensions "default"
productFlavors {
foss {
dimension "default"
}
}
lint {
checkReleaseBuilds false
}
packagingOptions {
resources {
excludes += ['META-INF/LICENSE']
}
}
//compileOptions {
// sourceCompatibility JavaVersion.VERSION_1_8
// targetCompatibility JavaVersion.VERSION_1_8
//}
// 2018 style of testing
useLibrary 'android.test.runner'
useLibrary 'android.test.base'
dependenciesInfo {
// Disables dependency metadata when building APKs.
includeInApk = false
// Disables dependency metadata when building Android App Bundles.
includeInBundle = false
}
}
dependencies {
// Multidex
implementation 'com.android.support:multidex:1.0.3'
// Charts
implementation 'com.github.gudatcomputers:hellocharts-android:ba603174d302931c0985afb4e54d597fba28146b'
// CSV
implementation 'org.apache.commons:commons-csv:1.12.0'
// Filesystem tools
implementation 'androidx.documentfile:documentfile:1.1.0-alpha01'
// Support, AppCompat
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.4.0-rc01'
implementation 'com.google.android.material:material:1.13.0-alpha08'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation 'androidx.fragment:fragment:1.8.5'
// Room Persistence
implementation 'androidx.room:room-runtime:2.7.0-alpha11'
annotationProcessor 'androidx.room:room-compiler:2.7.0-alpha11'
// WebDAV
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.14'
// UI Helpers
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.bignerdranch.android:recyclerview-multiselect:0.2'
implementation 'de.psdev.licensesdialog:licensesdialog:2.2.0'
implementation 'uk.co.jordanrobinson:android-color-picker:1.0.2'
// Joda-Time for Android
implementation 'net.danlew:android.joda:2.13.0'
// Required for instrumented tests
androidTestImplementation 'androidx.annotation:annotation:1.9.1'
androidTestImplementation 'androidx.test:runner:1.6.2'
}