apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion "28.0.3" defaultConfig { applicationId "org.fox.ttcomics2" buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L" buildConfigField "boolean", "ENABLE_UPDATER", "false" minSdkVersion 21 targetSdkVersion 27 } 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' signingConfig signingConfigs.fdroid buildConfigField "boolean", "ENABLE_UPDATER", "true" //matchingFallbacks = ['release'] } } } dependencies { implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.1.0' implementation 'com.shamanland:fab:0.0.8' implementation 'jp.co.recruit_mp:android-HeaderFooterGridView:0.2.4' implementation 'com.github.bumptech.glide:glide:3.8.0' implementation 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar' implementation 'frankiesardo:icepick:3.2.0' compileOnly 'frankiesardo:icepick-processor:3.2.0' implementation 'com.github.livefront:bridge:v1.1.2' annotationProcessor 'frankiesardo:icepick-processor:3.2.0' implementation 'com.google.android.gms:play-services-base:17.2.1' implementation 'com.google.android.gms:play-services-auth:18.0.0' implementation files('libs/nineoldandroids-2.4.0.jar') implementation 'com.gu:option:1.3' implementation 'net.rdrei.android.dirchooser:library:3.2@aar' implementation 'com.github.joielechong:zip4jandroid:1.0.1' implementation 'com.github.javiersantos:AppUpdater:2.7' }