apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion "28.0.3" defaultConfig { applicationId "org.fox.ttrss" buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L" buildConfigField "boolean", "ENABLE_TRIAL", "true" minSdkVersion 16 targetSdkVersion 28 // we're not targeting SDK 25 because of this: https://issuetracker.google.com/issues/37103380#makechanges } 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.10.0' 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.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.browser:browser:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation 'com.google.code.gson:gson:2.8.2' 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') }