-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
74 lines (68 loc) · 1.87 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
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
plugins {
alias(libs.plugins.androidLibrary)
alias(libs.plugins.kotlinAndroid)
alias(libs.plugins.ksp)
kotlin("plugin.serialization") version "1.9.0"
alias(libs.plugins.hiltAndroid)
}
apply {
from("$rootDir/core-dependencies.gradle")
}
apply {
from("$rootDir/test-dependencies.gradle")
}
apply {
from("$rootDir/compose-dependencies.gradle")
}
val properties = gradleLocalProperties(rootDir)
android {
namespace = "dev.robert.games"
compileSdk = 34
defaultConfig {
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
debug {
buildConfigField("String", "BASE_URL", "\"https://api.rawg.io/api/\"")
buildConfigField("String", "API_KEY", properties.getProperty("API_KEY"))
isMinifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
kotlin {
jvmToolchain(11)
}
buildFeatures {
compose = true
}
buildFeatures {
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.4"
}
}
dependencies {
implementation(project(":core:database"))
implementation(project(":core:network"))
implementation(project(":core:shared"))
implementation(project(":core:designsystem"))
implementation(project(":core:navigation"))
implementation(project(":core:datastore"))
}