2021-10-02 14:27:42 +02:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'io.michaelrocks.paranoid'
|
|
|
|
id 'ru.cleverpumpkin.proguard-dictionaries-generator'
|
|
|
|
}
|
2017-11-04 16:09:25 +01:00
|
|
|
|
|
|
|
android {
|
2021-10-21 18:06:20 +02:00
|
|
|
compileSdkVersion 31
|
2021-12-21 16:49:17 +01:00
|
|
|
buildToolsVersion '32.0.0'
|
2018-10-08 17:31:55 +02:00
|
|
|
|
2017-11-04 16:09:25 +01:00
|
|
|
defaultConfig {
|
2019-06-01 14:17:58 +02:00
|
|
|
applicationId 'org.nuclearfog.twidda'
|
2018-11-22 08:26:37 +01:00
|
|
|
minSdkVersion 16
|
2021-10-21 18:06:20 +02:00
|
|
|
targetSdkVersion 31
|
2021-12-24 12:50:05 +01:00
|
|
|
versionCode 51
|
|
|
|
versionName '1.10.6'
|
2020-12-05 22:05:20 +01:00
|
|
|
// limiting language support for smaller APK size
|
2021-02-06 10:16:03 +01:00
|
|
|
resConfigs 'en', 'de-rDE', 'zh-rCN'
|
2019-05-05 21:15:20 +02:00
|
|
|
vectorDrawables.useSupportLibrary true
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|
2018-10-08 17:31:55 +02:00
|
|
|
|
2017-11-04 16:09:25 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2018-05-17 17:11:08 +02:00
|
|
|
debuggable false
|
2021-12-11 20:14:16 +01:00
|
|
|
multiDexEnabled false
|
2018-09-13 18:13:42 +02:00
|
|
|
minifyEnabled true
|
2019-08-15 17:55:58 +02:00
|
|
|
shrinkResources true
|
2021-12-11 21:20:56 +01:00
|
|
|
proguardFile 'proguard-rules.pro'
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|
2018-09-15 13:51:32 +02:00
|
|
|
debug {
|
2022-01-05 10:52:36 +01:00
|
|
|
multiDexEnabled false
|
|
|
|
//minifyEnabled true
|
|
|
|
proguardFile 'proguard-debug.pro'
|
2019-06-01 14:17:58 +02:00
|
|
|
applicationIdSuffix '.debug'
|
2018-09-17 17:18:32 +02:00
|
|
|
versionNameSuffix '.DEBUG'
|
2018-09-15 13:51:32 +02:00
|
|
|
}
|
2018-02-10 00:42:23 +01:00
|
|
|
}
|
2021-01-16 21:37:56 +01:00
|
|
|
|
2021-12-17 13:57:36 +01:00
|
|
|
packagingOptions {
|
2021-12-21 16:49:17 +01:00
|
|
|
exclude '**/twitter4j.properties.template'
|
2021-12-17 13:57:36 +01:00
|
|
|
exclude '/META-INF/CHANGES'
|
|
|
|
exclude '/META-INF/DEPENDENCIES'
|
|
|
|
exclude '/META-INF/README.md'
|
|
|
|
exclude '/META-INF/androidx.*'
|
|
|
|
exclude '/META-INF/com.*'
|
|
|
|
}
|
|
|
|
|
2021-01-07 23:33:32 +01:00
|
|
|
paranoid {
|
|
|
|
enabled true
|
|
|
|
}
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|
|
|
|
|
2021-06-06 12:15:35 +02:00
|
|
|
proguardDictionaries {
|
|
|
|
dictionaryNames = ['dict/class-dictionary', 'dict/package-dictionary', 'dict/obfuscation-dictionary']
|
2021-06-28 16:36:34 +02:00
|
|
|
minLineLength 4 // minimum package name length
|
|
|
|
maxLineLength 8 // maximum package name length
|
2021-06-06 12:15:35 +02:00
|
|
|
linesCountInDictionary 3000 // maximum class count
|
2021-06-05 15:45:03 +02:00
|
|
|
}
|
|
|
|
|
2017-11-04 16:09:25 +01:00
|
|
|
dependencies {
|
2021-12-11 20:14:16 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
2021-01-23 17:09:27 +01:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2019-09-15 11:50:44 +02:00
|
|
|
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
|
2021-08-28 11:15:55 +02:00
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
2021-06-15 11:23:09 +02:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
2021-12-11 20:14:16 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
|
2019-11-10 15:57:38 +01:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2022-01-12 13:17:30 +01:00
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.1.2'
|
2021-07-05 14:31:35 +02:00
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.8'
|
2021-10-01 19:30:08 +02:00
|
|
|
implementation 'com.larswerkman:LicenseView:1.1'
|
2021-01-18 21:23:00 +01:00
|
|
|
implementation 'com.github.open-android:Picasso-transformations:0.1.0'
|
2020-05-26 21:12:57 +02:00
|
|
|
implementation 'com.github.QuadFlask:colorpicker:0.0.15'
|
2021-10-21 18:06:20 +02:00
|
|
|
implementation 'com.github.nuclearfog:ZoomView:1.0.3'
|
|
|
|
implementation 'com.github.nuclearfog:Tagger:2.3'
|
|
|
|
implementation 'com.github.nuclearfog:LinkAndScrollMovement:1.4.1'
|
2021-06-07 11:12:25 +02:00
|
|
|
implementation 'com.github.kyleduo:SwitchButton:2.0.3-SNAPSHOT'
|
2021-06-06 11:25:27 +02:00
|
|
|
implementation 'com.github.LeonardoCardoso:Android-Link-Preview:master'
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|