2017-11-04 16:09:25 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2021-01-07 23:33:32 +01:00
|
|
|
apply plugin: 'io.michaelrocks.paranoid'
|
2021-06-05 15:45:03 +02:00
|
|
|
apply plugin: 'ru.cleverpumpkin.proguard-dictionaries-generator'
|
2017-11-04 16:09:25 +01:00
|
|
|
|
|
|
|
android {
|
2021-01-13 22:23:12 +01:00
|
|
|
buildToolsVersion '30.0.3'
|
2020-10-07 21:38:25 +02:00
|
|
|
compileSdkVersion 30
|
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
|
2020-10-07 21:38:25 +02:00
|
|
|
targetSdkVersion 30
|
2021-08-28 16:01:31 +02:00
|
|
|
versionCode 45
|
|
|
|
versionName '1.10'
|
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
|
2018-09-13 18:13:42 +02:00
|
|
|
minifyEnabled true
|
2019-08-15 17:55:58 +02:00
|
|
|
shrinkResources true
|
2019-09-15 11:50:44 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|
2018-09-15 13:51:32 +02:00
|
|
|
debug {
|
2019-05-05 17:43:07 +02:00
|
|
|
minifyEnabled false
|
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-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-08-28 11:15:55 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
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-09-27 19:12:06 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
|
2019-11-10 15:57:38 +01:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2018-10-10 21:43:40 +02:00
|
|
|
|
2018-12-24 20:37:46 +01:00
|
|
|
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
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'
|
2019-06-01 14:17:58 +02:00
|
|
|
implementation 'com.github.nuclearfog:ZoomView:1.0.2'
|
2020-03-18 15:04:57 +01:00
|
|
|
implementation 'com.github.nuclearfog:Tagger:2.2'
|
2021-01-23 17:09:27 +01:00
|
|
|
implementation 'com.github.nuclearfog:LinkAndScrollMovement:1.4'
|
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
|
|
|
}
|