-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
72 lines (64 loc) · 2.19 KB
/
build.gradle.kts
File metadata and controls
72 lines (64 loc) · 2.19 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
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.kotlin)
alias(libs.plugins.compose.compiler)
}
android {
namespace = "com.darkempire78.opencalculator"
compileSdk = 35
defaultConfig {
applicationId = "com.darkempire78.opencalculator"
resourceConfigurations += listOf("ar", "az", "be", "bn", "bs", "cs", "de", "el", "es", "fa", "fr", "hi", "hr", "hu", "in", "it", "ja", "kn", "mk", "ml", "nb-rNO", "nl", "or", "pl", "pt-rBR", "ro", "ru", "sat", "sr", "sv", "tr", "uk", "vi", "zh-rCN", "zh-rHK", "zh-rTW")
minSdk = 21
targetSdk = 35
versionCode = 54
versionName = "3.2.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
signingConfig = signingConfigs.getByName("debug")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
debug {
applicationIdSuffix = ".debug"
isDebuggable = true
}
}
viewBinding {
enable = true
}
buildFeatures {
viewBinding = true
buildConfig = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation(libs.androidx.runtime)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.preference.ktx)
implementation(libs.androidx.constraintlayout)
implementation(libs.material)
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation(libs.androidslidinguppanel)
implementation(libs.androidx.preference.ktx)
implementation(libs.androidx.datastore)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
implementation(libs.gson)
}