fdroid/build #6
55
build.gradle
55
build.gradle
|
@ -18,20 +18,13 @@ apply plugin: 'org.jetbrains.kotlin.android'
|
|||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { url='https://jitpack.io'}
|
||||
jcenter()
|
||||
}
|
||||
|
||||
configurations {
|
||||
playstoreImplementation
|
||||
freeImplementation
|
||||
conversationsFreeImplementation
|
||||
conversationsPlaystorImplementation
|
||||
conversationsPlaystoreImplementation
|
||||
quicksyPlaystoreImplementation
|
||||
quicksyPlaystoreImplementation
|
||||
quicksyFreeImplementation
|
||||
quicksyImplementation
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -39,13 +32,6 @@ dependencies {
|
|||
|
||||
implementation 'androidx.viewpager:viewpager:1.0.0'
|
||||
|
||||
playstoreImplementation('com.google.firebase:firebase-messaging:23.3.1') {
|
||||
exclude group: 'com.google.firebase', module: 'firebase-core'
|
||||
exclude group: 'com.google.firebase', module: 'firebase-analytics'
|
||||
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
|
||||
}
|
||||
conversationsPlaystoreImplementation("com.android.installreferrer:installreferrer:2.2")
|
||||
quicksyPlaystoreImplementation 'com.google.android.gms:play-services-auth-api-phone:18.0.1'
|
||||
implementation 'com.github.open-keychain.open-keychain:openpgp-api:v5.7.1'
|
||||
implementation("com.github.CanHub:Android-Image-Cropper:2.2.0")
|
||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||
|
@ -90,6 +76,7 @@ dependencies {
|
|||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
||||
implementation 'com.github.bumptech.glide:glide:4.15.1'
|
||||
// https://mvnrepository.com/artifact/info.androidhive/imagefilters
|
||||
implementation 'info.androidhive:imagefilters:1.0.7'
|
||||
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
||||
|
||||
|
@ -154,58 +141,22 @@ android {
|
|||
flavorDimensions += "distribution"
|
||||
|
||||
productFlavors {
|
||||
|
||||
quicksy {
|
||||
dimension "mode"
|
||||
applicationId = "im.quicksy.client"
|
||||
resValue "string", "applicationId", applicationId
|
||||
|
||||
def appName = "Quicksy"
|
||||
resValue "string", "app_name", appName
|
||||
buildConfigField "String", "APP_NAME", "\"$appName\""
|
||||
}
|
||||
|
||||
conversations {
|
||||
dimension "mode"
|
||||
}
|
||||
|
||||
playstore {
|
||||
dimension "distribution"
|
||||
versionNameSuffix "+playstore"
|
||||
}
|
||||
free {
|
||||
dimension "distribution"
|
||||
versionNameSuffix "+free"
|
||||
//versionNameSuffix "+free"
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
quicksyFree {
|
||||
java {
|
||||
srcDir 'src/quicksyFree/java'
|
||||
}
|
||||
}
|
||||
quicksyPlaystore {
|
||||
java {
|
||||
srcDir 'src/quicksyPlaystore/java'
|
||||
}
|
||||
res {
|
||||
srcDir 'src/quicksyPlaystore/res'
|
||||
}
|
||||
}
|
||||
conversationsFree {
|
||||
java {
|
||||
srcDir 'src/conversationsFree/java'
|
||||
}
|
||||
}
|
||||
conversationsPlaystore {
|
||||
java {
|
||||
srcDir 'src/conversationsPlaystore/java'
|
||||
}
|
||||
res {
|
||||
srcDir 'src/conversationsPlaystore/res'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
Loading…
Reference in a new issue