-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathbuild.gradle
More file actions
92 lines (76 loc) · 2.87 KB
/
Copy pathbuild.gradle
File metadata and controls
92 lines (76 loc) · 2.87 KB
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
plugins {
alias libs.plugins.androidApplication
alias libs.plugins.ktfmt
alias libs.plugins.compose.compiler
}
android {
namespace 'com.stadiamaps.ferrostar'
compileSdk = 36
defaultConfig {
applicationId "com.stadiamaps.ferrostar.demo"
// Most of Ferrostar can be used with minSdk 25. Car App requires 29
minSdk 29
targetSdk 36
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
Properties properties = new Properties()
properties.load(project.rootProject.file("local.properties").newDataInputStream())
android.buildFeatures.buildConfig true
buildConfigField "String", "stadiaApiKey", "\"${properties.getProperty("stadiaApiKey")}\""
buildConfigField "String", "graphhopperApiKey", "\"${properties.getProperty("graphhopperApiKey")}\""
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
compose true
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
// Temporary until we can drop support for API < 26
coreLibraryDesugaring libs.desugar.jdk.libs
implementation libs.androidx.ktx
implementation libs.androidx.lifecycle.runtime.ktx
implementation libs.androidx.activity.compose
implementation platform(libs.androidx.compose.bom)
implementation libs.androidx.compose.ui
implementation libs.androidx.compose.ui.graphics
implementation libs.androidx.compose.ui.tooling
implementation libs.androidx.compose.material3
implementation libs.androidx.compose.material.icon.extended
implementation libs.androidx.car.app
implementation project(':core')
implementation project(':car-app')
implementation project(':google-play-services')
implementation project(':ui-compose')
implementation project(':ui-maplibre')
implementation project(':ui-maplibre-car-app')
implementation libs.maplibre.compose
implementation libs.car.app.compose
implementation platform(libs.okhttp.bom)
implementation libs.okhttp.core
implementation libs.play.services.location
implementation libs.stadiamaps.autocomplete.search
testImplementation libs.junit
androidTestImplementation libs.androidx.test.junit
androidTestImplementation libs.androidx.test.espresso
androidTestImplementation libs.androidx.compose.ui.test.junit4
debugImplementation libs.androidx.compose.ui.test.manifest
}