BedrockStation/app/build.gradle.example
2024-08-09 15:35:39 +02:00

65 lines
1.5 KiB
Plaintext

plugins {
alias(libs.plugins.android.application)
}
android {
namespace 'me.sergiotarxz.bedrockstation'
compileSdk 34
defaultConfig {
applicationId "me.sergiotarxz.bedrockstation"
minSdk 14
targetSdk 34
versionCode 2
versionName "1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
storeFile file("<file>")
storePassword "<store pass>"
keyAlias "<alias>"
keyPassword "<pass>"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
flavorDimensions += "version"
productFlavors {
free {
dimension "version"
applicationIdSuffix ".free"
versionNameSuffix "-free"
}
pro {
dimension "version"
applicationIdSuffix ".pro"
versionNameSuffix "-pro"
}
}
}
dependencies {
implementation libs.appcompat
implementation libs.material
implementation libs.activity
implementation libs.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core
}