2023-08-28 23:13:44 +02:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 23:13:44 +02:00
|
|
|
namespace = "info.burguillos.bi"
|
|
|
|
compileSdk = 33
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "info.burguillos.bi"
|
2023-08-29 23:53:46 +02:00
|
|
|
minSdk = 26
|
2023-08-28 23:13:44 +02:00
|
|
|
targetSdk = 33
|
2023-09-02 06:08:35 +02:00
|
|
|
versionCode = 4
|
|
|
|
versionName = "4.0"
|
2023-08-28 23:13:44 +02:00
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2023-09-02 06:08:35 +02:00
|
|
|
isMinifyEnabled = true
|
2023-08-28 23:13:44 +02:00
|
|
|
proguardFiles(
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
"proguard-rules.pro"
|
|
|
|
)
|
2023-09-01 14:45:53 +02:00
|
|
|
signingConfig = signingConfigs.getByName("release")
|
2023-08-28 23:13:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
2023-09-02 06:08:35 +02:00
|
|
|
flavorDimensions += "destination"
|
|
|
|
productFlavors {
|
|
|
|
create("promo") {
|
|
|
|
manifestPlaceholders["host"] = "promo.burguillos.info"
|
|
|
|
applicationIdSuffix = ".promo";
|
|
|
|
versionNameSuffix = "-promo"
|
|
|
|
}
|
|
|
|
create("real") {
|
|
|
|
manifestPlaceholders["host"] = "burguillos.info"
|
|
|
|
versionNameSuffix = "-real"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 23:13:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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")
|
2023-08-29 01:39:49 +02:00
|
|
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
2023-08-29 04:19:49 +02:00
|
|
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
2023-08-29 01:39:49 +02:00
|
|
|
|
|
|
|
}
|
2023-08-30 16:52:59 +02:00
|
|
|
|
|
|
|
allprojects {
|
|
|
|
gradle.projectsEvaluated {
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
options.compilerArgs.add("-Xlint:deprecation")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|