Adding fdroid gradle.

This commit is contained in:
sergiotarxz 2024-09-29 03:04:02 +02:00
parent 12b0fcda21
commit c1f7c99d37

54
app/build.gradle.fdroid Normal file
View File

@ -0,0 +1,54 @@
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"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
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
}