1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-05-22 06:34:29 +02:00

change build.gradle

This commit is contained in:
Thomas 2020-09-06 20:41:36 +02:00
parent f7eb17fd94
commit 88514c0669

View File

@ -7,7 +7,7 @@ android {
buildToolsVersion "30.0.2" buildToolsVersion "30.0.2"
defaultConfig { defaultConfig {
applicationId "app.fedilab.fedilabtube"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 30
versionCode 6 versionCode 6
@ -18,6 +18,7 @@ android {
dexOptions { dexOptions {
javaMaxHeapSize "4g" javaMaxHeapSize "4g"
} }
flavorDimensions "default"
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
@ -28,6 +29,26 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
productFlavors {
fdroid_acad {
applicationId "app.fedilab.fedilabtube"
buildConfigField "string", "version", "fdroid_acad"
}
fdroid_full {
applicationId "app.fedilab.tubelab"
buildConfigField "string", "version", "fdroid_full"
}
google_acad {
applicationId "app.fedilab.fedilabtube"
buildConfigField "string", "version", "google_acad"
}
google_full {
applicationId "app.fedilab.tubelab"
buildConfigField "string", "version", "google_full"
}
}
} }
allprojects { allprojects {
@ -37,12 +58,13 @@ allprojects {
} }
} }
dependencies { dependencies {
implementation "androidx.multidex:multidex:2.0.1" implementation "androidx.multidex:multidex:2.0.1"
implementation fileTree(dir: "libs", include: ["*.jar"]) implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.preference:preference:1.1.1' implementation 'androidx.preference:preference:1.1.1'
implementation 'com.google.android.material:material:1.2.0' implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.navigation:navigation-fragment:2.3.0' implementation 'androidx.navigation:navigation-fragment:2.3.0'