| author | Da Risk <da_risk@geekorum.com> |
| Tue, 29 Nov 2022 18:04:23 -0400 | |
| changeset 25 | 34fe2a0c47c8 |
| parent 23 | ab8851704ae7 |
| child 26 | 3650f8c57a61 |
| permissions | -rw-r--r-- |
| 1 | 1 |
import com.geekorum.build.configureJavaVersion |
2 |
||
3 |
plugins {
|
|
4 |
id("com.android.library")
|
|
5 |
kotlin("android")
|
|
6 |
id("com.geekorum.build.android-tests")
|
|
7 |
id("com.geekorum.build.android-avdl")
|
|
| 2 | 8 |
`maven-publish` |
| 1 | 9 |
} |
10 |
||
|
3
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
11 |
val archivesBaseName by extra("geekdroid-firebase")
|
|
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
12 |
val artifactId by extra (archivesBaseName) |
| 1 | 13 |
|
14 |
android {
|
|
| 17 | 15 |
val compileSdkInt: Int by rootProject.extra |
16 |
compileSdk = compileSdkInt |
|
| 19 | 17 |
namespace = "com.geekorum.geekdroid.firebase" |
| 1 | 18 |
|
19 |
defaultConfig {
|
|
| 17 | 20 |
minSdk = 24 |
21 |
targetSdk = 29 |
|
| 1 | 22 |
} |
23 |
configureJavaVersion() |
|
24 |
||
25 |
buildTypes {
|
|
26 |
getByName("release") {
|
|
27 |
isMinifyEnabled = false |
|
28 |
proguardFiles(getDefaultProguardFile("proguard-android.txt"),
|
|
29 |
"proguard-rules.pro") |
|
30 |
} |
|
31 |
} |
|
32 |
||
| 17 | 33 |
lint {
|
| 19 | 34 |
abortOnError = false |
| 1 | 35 |
} |
36 |
||
37 |
} |
|
38 |
||
39 |
dependencies {
|
|
40 |
implementation(enforcedPlatform(kotlin("bom")))
|
|
41 |
implementation(kotlin("stdlib-jdk8"))
|
|
42 |
||
|
23
ab8851704ae7
geekdroid: add LicenseInfoRepository and OssLicenseParser
Da Risk <da_risk@geekorum.com>
parents:
22
diff
changeset
|
43 |
implementation(enforcedPlatform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.4"))
|
| 1 | 44 |
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
|
45 |
api("org.jetbrains.kotlinx:kotlinx-coroutines-play-services")
|
|
46 |
||
| 22 | 47 |
implementation("com.jakewharton.timber:timber:5.0.1")
|
| 1 | 48 |
|
49 |
implementation("com.crashlytics.sdk.android:crashlytics:2.10.1")
|
|
| 22 | 50 |
implementation("com.google.firebase:firebase-crashlytics:18.3.2")
|
| 1 | 51 |
|
| 22 | 52 |
api("com.google.firebase:firebase-firestore-ktx:24.4.1")
|
53 |
implementation("com.google.firebase:firebase-auth:21.1.0")
|
|
| 1 | 54 |
|
55 |
// not firebase but they often work together so here we are |
|
| 22 | 56 |
implementation("com.google.android.gms:play-services-location:21.0.1")
|
| 1 | 57 |
|
58 |
// not firebase but similar to gms api |
|
| 22 | 59 |
implementation("com.google.android.play:core:1.10.3")
|
| 1 | 60 |
|
61 |
// fix for guava conflict |
|
62 |
// firebase depends on a older version of these dependencies while testImplementation dependencies |
|
63 |
// depends on new version |
|
64 |
implementation("org.checkerframework:checker-compat-qual:2.5.5")
|
|
65 |
implementation("com.google.guava:guava:27.0.1-android")
|
|
66 |
} |
|
|
3
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
67 |
|
|
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
68 |
apply {
|
|
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
69 |
from("$projectDir/../config/source-archive.gradle")
|
|
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
70 |
from("$projectDir/../config/android-maven-publication.gradle")
|
|
deb08be508b0
Add publishing stuff for geekdroid-firebase
Da Risk <da_risk@geekorum.com>
parents:
2
diff
changeset
|
71 |
} |