-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
164 lines (158 loc) · 7.63 KB
/
build.gradle.kts
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
fun getGitHash(): String {
val proc = ProcessBuilder("git", "rev-parse", "--short", "HEAD")
.redirectOutput(ProcessBuilder.Redirect.PIPE)
.redirectError(ProcessBuilder.Redirect.PIPE)
.start()
proc.waitFor(10L, TimeUnit.SECONDS)
return proc.inputStream.bufferedReader().readText().trim()
}
android {
buildFeatures {
buildConfig = true
}
defaultConfig {
buildConfigField("String", "SIMPLIFIED_GIT_COMMIT", "\"${getGitHash()}\"")
buildConfigField("String", "SIMPLIFIED_VERSION", "\"${rootProject.ext["VERSION_NAME"]}\"")
}
}
dependencies {
coreLibraryDesugaring(libs.android.desugaring)
implementation(project(":palace-ui"))
implementation(project(":simplified-accessibility"))
implementation(project(":simplified-accounts-api"))
implementation(project(":simplified-accounts-database"))
implementation(project(":simplified-accounts-database-api"))
implementation(project(":simplified-accounts-json"))
implementation(project(":simplified-accounts-registry"))
implementation(project(":simplified-accounts-registry-api"))
implementation(project(":simplified-accounts-source-spi"))
implementation(project(":simplified-adobe-extensions"))
implementation(project(":simplified-analytics-api"))
implementation(project(":simplified-android-ktx"))
implementation(project(":simplified-announcements"))
implementation(project(":simplified-bookmarks"))
implementation(project(":simplified-bookmarks-api"))
implementation(project(":simplified-books-api"))
implementation(project(":simplified-books-audio"))
implementation(project(":simplified-books-borrowing"))
implementation(project(":simplified-books-bundled-api"))
implementation(project(":simplified-books-controller"))
implementation(project(":simplified-books-controller-api"))
implementation(project(":simplified-books-covers"))
implementation(project(":simplified-books-formats"))
implementation(project(":simplified-books-formats-api"))
implementation(project(":simplified-books-registry-api"))
implementation(project(":simplified-books-time-tracking"))
implementation(project(":simplified-boot-api"))
implementation(project(":simplified-buildconfig-api"))
implementation(project(":simplified-content-api"))
implementation(project(":simplified-crashlytics-api"))
implementation(project(":simplified-documents"))
implementation(project(":simplified-feeds-api"))
implementation(project(":simplified-files"))
implementation(project(":simplified-lcp"))
implementation(project(":simplified-metrics"))
implementation(project(":simplified-metrics-api"))
implementation(project(":simplified-migration-api"))
implementation(project(":simplified-migration-spi"))
implementation(project(":simplified-networkconnectivity"))
implementation(project(":simplified-networkconnectivity-api"))
implementation(project(":simplified-notifications"))
implementation(project(":simplified-oauth"))
implementation(project(":simplified-opds-auth-document"))
implementation(project(":simplified-opds-auth-document-api"))
implementation(project(":simplified-opds-core"))
implementation(project(":simplified-patron"))
implementation(project(":simplified-patron-api"))
implementation(project(":simplified-presentableerror-api"))
implementation(project(":simplified-profiles"))
implementation(project(":simplified-profiles-api"))
implementation(project(":simplified-profiles-controller-api"))
implementation(project(":simplified-reader-api"))
implementation(project(":simplified-services-api"))
implementation(project(":simplified-taskrecorder-api"))
implementation(project(":simplified-tenprint"))
implementation(project(":simplified-threads"))
implementation(project(":simplified-ui-accounts"))
implementation(project(":simplified-ui-announcements"))
implementation(project(":simplified-ui-branding"))
implementation(project(":simplified-ui-catalog"))
implementation(project(":simplified-ui-errorpage"))
implementation(project(":simplified-ui-images"))
implementation(project(":simplified-ui-listeners-api"))
implementation(project(":simplified-ui-navigation-tabs"))
implementation(project(":simplified-ui-onboarding"))
implementation(project(":simplified-ui-screen"))
implementation(project(":simplified-ui-settings"))
implementation(project(":simplified-ui-splash"))
implementation(project(":simplified-ui-thread-api"))
implementation(project(":simplified-ui-tutorial"))
implementation(project(":simplified-viewer-api"))
implementation(project(":simplified-viewer-audiobook"))
implementation(project(":simplified-viewer-epub-readium2"))
implementation(project(":simplified-viewer-pdf-pdfjs"))
implementation(project(":simplified-viewer-preview"))
implementation(project(":simplified-viewer-spi"))
implementation(libs.androidx.activity)
implementation(libs.androidx.activity.ktx)
implementation(libs.androidx.annotation)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.cardview)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.coordinatorlayout)
implementation(libs.androidx.core)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.customview)
implementation(libs.androidx.drawerlayout)
implementation(libs.androidx.fragment)
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.lifecycle.common)
implementation(libs.androidx.lifecycle.extensions)
implementation(libs.androidx.lifecycle.viewmodel)
implementation(libs.androidx.lifecycle.viewmodel.savedstate)
implementation(libs.androidx.preference)
implementation(libs.androidx.recyclerview)
implementation(libs.androidx.savedstate)
implementation(libs.firebase.dynamic.links)
implementation(libs.firebase.dynamic.links.ktx)
implementation(libs.firebase.messaging)
implementation(libs.firebase.messaging.ktx)
implementation(libs.google.failureaccess)
implementation(libs.google.guava)
implementation(libs.google.material)
implementation(libs.io7m.jnull)
implementation(libs.irradia.mime.api)
implementation(libs.irradia.opds2.api)
implementation(libs.irradia.opds2.lexical)
implementation(libs.irradia.opds2.librarysimplified)
implementation(libs.irradia.opds2.parser.api)
implementation(libs.irradia.opds2.parser.extension.spi)
implementation(libs.irradia.opds2.parser.librarysimplified)
implementation(libs.irradia.opds2.parser.vanilla)
implementation(libs.jackson.core)
implementation(libs.jackson.databind)
implementation(libs.joda.time)
implementation(libs.kotlin.reflect)
implementation(libs.kotlin.stdlib)
implementation(libs.logback.android)
implementation(libs.palace.audiobook.feedbooks)
implementation(libs.palace.audiobook.time.tracking)
implementation(libs.palace.audiobook.views)
implementation(libs.palace.drm.core)
implementation(libs.palace.http.api)
implementation(libs.palace.http.bearer.token)
implementation(libs.palace.http.vanilla)
implementation(libs.palace.theme)
implementation(libs.pandora.bottom.navigator)
implementation(libs.picasso)
implementation(libs.play.services.basement)
implementation(libs.play.services.tasks)
implementation(libs.r2.lcp)
implementation(libs.r2.shared)
implementation(libs.rxandroid2)
implementation(libs.rxjava2)
implementation(libs.rxjava2.extensions)
implementation(libs.slf4j)
implementation(libs.transifex.sdk)
}