summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/build.gradle
blob: a211b0d7d4828a6e18d5114cf1c2bf95e29ee821 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "28.0.3"

    defaultConfig {
        applicationId "org.fox.ttrss"
        buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
        buildConfigField "boolean", "ENABLE_TRIAL", "true"
        minSdkVersion 16
        targetSdkVersion 29
    }

    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
            }
        }
    }

    lintOptions {
        abortOnError false
        checkReleaseBuilds false
        disable 'MissingTranslation'
    }

    buildTypes {
        release {
            minifyEnabled  false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }

        fdroid {
            minifyEnabled  false
				versionNameSuffix "-fdroid"
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
				buildConfigField "boolean", "ENABLE_TRIAL", "false"
				signingConfig signingConfigs.fdroid
				matchingFallbacks = ['release']
        }
    }
}

dependencies {
    implementation files('libs/dashclock-api-r1.1.jar')
    implementation 'com.squareup.okhttp3:okhttp:3.12.5'
    implementation('com.github.bumptech.glide:okhttp3-integration:1.5.0') {
        exclude group: 'glide-parent'
    }
    implementation 'org.jsoup:jsoup:1.10.2'
    implementation 'com.bogdwellers:pinchtozoom:0.1'
    implementation 'com.github.bumptech.glide:glide:3.8.0'
    implementation 'jp.wasabeef:glide-transformations:2.0.2'
    implementation 'androidx.recyclerview:recyclerview:1.1.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.browser:browser:1.0.0'
    implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
    implementation 'com.otaliastudios:nestedscrollcoordinatorlayout:1.0.3'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.shamanland:fab:0.0.8'
    implementation 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:1.2.32@aar'
    implementation 'me.relex:circleindicator:1.2.2@aar'
    implementation 'com.viewpagerindicator:library:2.4.1'
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
    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 files('libs/YouTubeAndroidPlayerApi.jar')
}