2015-11-23 21:20:14 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
2017-06-28 08:29:18 +00:00
|
|
|
applicationId "org.shadowice.flocke.andotp"
|
2020-05-27 04:59:26 +00:00
|
|
|
minSdkVersion 22
|
2024-09-17 06:54:38 +00:00
|
|
|
targetSdkVersion 33
|
2024-09-17 06:55:58 +00:00
|
|
|
compileSdkVersion 33
|
2024-09-17 06:54:38 +00:00
|
|
|
versionCode 24091700
|
|
|
|
versionName "0.9.1.0"
|
2018-03-22 09:05:36 +00:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2020-05-20 17:06:12 +00:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2015-11-23 21:20:14 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
2018-02-26 16:02:07 +00:00
|
|
|
applicationIdSuffix = ".dev"
|
|
|
|
versionNameSuffix = "-dev"
|
2015-11-23 21:20:14 +00:00
|
|
|
testCoverageEnabled = true
|
2020-05-10 14:37:25 +00:00
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
|
|
}
|
2015-11-23 21:20:14 +00:00
|
|
|
}
|
|
|
|
}
|
2020-12-12 16:03:16 +00:00
|
|
|
buildFeatures {
|
2020-05-29 21:33:16 +00:00
|
|
|
dataBinding = true
|
2018-02-27 15:43:02 +00:00
|
|
|
}
|
2019-10-11 15:19:49 +00:00
|
|
|
flavorDimensions 'market'
|
|
|
|
productFlavors {
|
|
|
|
fdroid {
|
|
|
|
dimension = 'market'
|
|
|
|
}
|
|
|
|
play {
|
|
|
|
dimension = 'market'
|
2019-10-19 07:55:58 +00:00
|
|
|
versionNameSuffix = "-play"
|
2019-10-11 15:19:49 +00:00
|
|
|
}
|
|
|
|
}
|
2020-01-29 08:40:19 +00:00
|
|
|
compileOptions {
|
2020-05-30 16:23:57 +00:00
|
|
|
// Flag to enable support for the new language APIs
|
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
|
|
|
|
// Sets Java compatibility to Java 8
|
2020-01-29 08:40:19 +00:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2024-09-17 06:17:35 +00:00
|
|
|
namespace 'org.shadowice.flocke.andotp'
|
|
|
|
lint {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2015-11-23 21:20:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-04 04:39:22 +00:00
|
|
|
def lifecycle_version = "2.3.1"
|
2020-02-03 08:01:40 +00:00
|
|
|
|
2021-05-04 04:39:22 +00:00
|
|
|
implementation 'androidx.media:media:1.3.0'
|
2020-01-29 08:14:18 +00:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-09-25 04:28:49 +00:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2020-01-29 08:14:18 +00:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2021-05-04 04:39:22 +00:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.0'
|
2021-01-29 06:10:43 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
2020-05-08 00:35:41 +00:00
|
|
|
implementation "androidx.lifecycle:lifecycle-process:${lifecycle_version}"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:${lifecycle_version}"
|
2020-12-12 16:03:16 +00:00
|
|
|
implementation 'com.google.android.material:material:1.3.0'
|
2020-01-29 08:40:19 +00:00
|
|
|
|
2020-05-29 21:33:16 +00:00
|
|
|
//noinspection GradleDependency - because they messed up their version numbering
|
2020-09-25 04:28:49 +00:00
|
|
|
implementation "commons-codec:commons-codec:1.15"
|
2018-03-22 09:05:36 +00:00
|
|
|
implementation "com.github.aakira:expandable-layout:1.6.0"
|
2020-01-29 08:14:18 +00:00
|
|
|
implementation "com.heinrichreimersoftware:material-intro:2.0.0"
|
2020-12-12 16:03:16 +00:00
|
|
|
implementation("com.journeyapps:zxing-android-embedded:4.1.0") { transitive = false }
|
2021-03-16 22:10:17 +00:00
|
|
|
implementation('com.google.zxing:core:3.4.1')
|
2020-01-29 08:40:19 +00:00
|
|
|
implementation "me.zhanghai.android.materialprogressbar:library:1.6.1"
|
2021-05-04 04:39:22 +00:00
|
|
|
implementation "com.github.open-keychain.open-keychain:openpgp-api:v5.7.1"
|
2020-01-29 08:40:19 +00:00
|
|
|
implementation "com.leinardi.android:speed-dial:3.1.1"
|
2021-01-29 06:10:43 +00:00
|
|
|
implementation "com.mikepenz:aboutlibraries:6.2.3" // Supporting a newer version will need some work
|
2020-05-20 17:06:12 +00:00
|
|
|
|
2020-09-25 04:28:49 +00:00
|
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
|
2020-12-12 16:03:16 +00:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
2015-11-23 21:20:14 +00:00
|
|
|
}
|