blob: e604e14495068d7101d1272a6c65f9ea5c0b9b5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "org.fox.epube"
minSdkVersion 23
targetSdkVersion 29
versionCode 7
versionName "1.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "boolean", "ENABLE_UPDATER", "false"
}
signingConfigs {
fdroid {
if (project.hasProperty("FDROID_STORE_FILE")) {
storeFile file(FDROID_STORE_FILE)
storePassword FDROID_STORE_PASSWORD
keyAlias FDROID_KEY_ALIAS
keyPassword FDROID_KEY_PASSWORD
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
fdroid {
minifyEnabled false
versionNameSuffix "-fdroid"
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.fdroid
buildConfigField "boolean", "ENABLE_UPDATER", "true"
//matchingFallbacks = ['release']
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'frankiesardo:icepick:3.2.0'
compileOnly 'frankiesardo:icepick-processor:3.2.0'
annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
implementation 'com.github.livefront:bridge:v1.1.1'
implementation 'com.github.javiersantos:AppUpdater:2.7'
}
|