Initial import of Brizzi HCE project
This commit is contained in:
65
app/build.gradle.kts
Normal file
65
app/build.gradle.kts
Normal file
@ -0,0 +1,65 @@
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.korancrew.brizzi"
|
||||
compileSdk = 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.korancrew.brizzi"
|
||||
minSdk = 26
|
||||
targetSdk = 34
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
}
|
||||
|
||||
if (project.hasProperty("RELEASE_STORE_FILE")) {
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
storeFile = file(project.property("RELEASE_STORE_FILE") as String)
|
||||
storePassword = project.property("RELEASE_STORE_PASSWORD") as String
|
||||
keyAlias = project.property("RELEASE_KEY_ALIAS") as String
|
||||
keyPassword = project.property("RELEASE_KEY_PASSWORD") as String
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
}
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
if (project.findProperty("RELEASE_STORE_FILE") != null) {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("androidx.core:core-ktx:1.13.1")
|
||||
implementation("androidx.appcompat:appcompat:1.7.0")
|
||||
implementation("com.google.android.material:material:1.12.0")
|
||||
implementation("androidx.activity:activity-ktx:1.9.1")
|
||||
implementation("androidx.security:security-crypto-ktx:1.1.0")
|
||||
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
}
|
||||
Reference in New Issue
Block a user