-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (45 loc) · 1.35 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
plugins {
id("com.android.library")
alias(core.plugins.kotlin.android)
}
rootProject.extra.apply {
set("coreCompileSdk", 35)
set("coreMinSdk", 24)
set("javaVersion", JavaVersion.VERSION_17)
}
val coreCompileSdk: Int by rootProject.extra
val coreMinSdk: Int by rootProject.extra
val javaVersion: JavaVersion by rootProject.extra
android {
namespace = "com.infomaniak.core"
compileSdk = coreCompileSdk
defaultConfig {
minSdk = coreMinSdk
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
kotlinOptions {
jvmTarget = javaVersion.toString()
}
}
dependencies {
api(core.kotlinx.coroutines.core)
api(core.splitties.appctx)
api(core.splitties.systemservices)
api(core.splitties.coroutines)
implementation(core.splitties.toast)
implementation(core.splitties.mainhandler)
implementation(core.splitties.mainthread)
implementation(core.androidx.core)
implementation(core.androidx.lifecycle.runtime.ktx)
}