BInfoAndroid/app/build.gradle.kts

75 lines
2.1 KiB
Plaintext
Raw Normal View History

plugins {
id("com.android.application")
}
android {
2023-09-01 14:45:53 +02:00
signingConfigs {
create("release") {
storeFile = file("/home/sergio/BInfoAndroid/burguillos.keystore")
storePassword = "burguillos"
keyAlias = "BurguillosInfo"
keyPassword = "burguillos"
}
}
namespace = "info.burguillos.bi"
compileSdk = 33
defaultConfig {
applicationId = "info.burguillos.bi"
2023-08-29 23:53:46 +02:00
minSdk = 26
targetSdk = 33
versionCode = 4
versionName = "4.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
2023-09-01 14:45:53 +02:00
signingConfig = signingConfigs.getByName("release")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
flavorDimensions += "destination"
productFlavors {
create("promo") {
manifestPlaceholders["host"] = "promo.burguillos.info"
applicationIdSuffix = ".promo";
versionNameSuffix = "-promo"
}
create("real") {
manifestPlaceholders["host"] = "burguillos.info"
versionNameSuffix = "-real"
}
}
}
dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.8.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
}
2023-08-30 16:52:59 +02:00
allprojects {
gradle.projectsEvaluated {
tasks.withType<JavaCompile> {
options.compilerArgs.add("-Xlint:deprecation")
}
}
}