mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-03 21:39:41 +01:00
79 lines
2.6 KiB
Groovy
79 lines
2.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'io.michaelrocks.paranoid'
|
|
id 'ru.cleverpumpkin.proguard-dictionaries-generator'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
buildToolsVersion '32.0.0'
|
|
|
|
defaultConfig {
|
|
applicationId 'org.nuclearfog.twidda'
|
|
minSdkVersion 16
|
|
targetSdkVersion 31
|
|
versionCode 50
|
|
versionName '1.10.5'
|
|
// limiting language support for smaller APK size
|
|
resConfigs 'en', 'de-rDE', 'zh-rCN'
|
|
vectorDrawables.useSupportLibrary true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
debuggable false
|
|
multiDexEnabled false
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFile 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
minifyEnabled false
|
|
applicationIdSuffix '.debug'
|
|
versionNameSuffix '.DEBUG'
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude '**/twitter4j.properties.template'
|
|
exclude '/META-INF/CHANGES'
|
|
exclude '/META-INF/DEPENDENCIES'
|
|
exclude '/META-INF/README.md'
|
|
exclude '/META-INF/androidx.*'
|
|
exclude '/META-INF/com.*'
|
|
}
|
|
|
|
paranoid {
|
|
enabled true
|
|
}
|
|
}
|
|
|
|
proguardDictionaries {
|
|
dictionaryNames = ['dict/class-dictionary', 'dict/package-dictionary', 'dict/obfuscation-dictionary']
|
|
minLineLength 4 // minimum package name length
|
|
maxLineLength 8 // maximum package name length
|
|
linesCountInDictionary 3000 // maximum class count
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
|
implementation 'com.github.takke:twitter4j-v2:1.0.3'
|
|
//noinspection GradleDependency
|
|
implementation 'com.squareup.picasso:picasso:2.8'
|
|
implementation 'com.larswerkman:LicenseView:1.1'
|
|
implementation 'com.github.open-android:Picasso-transformations:0.1.0'
|
|
implementation 'com.github.QuadFlask:colorpicker:0.0.15'
|
|
implementation 'com.github.nuclearfog:ZoomView:1.0.3'
|
|
implementation 'com.github.nuclearfog:Tagger:2.3'
|
|
implementation 'com.github.nuclearfog:LinkAndScrollMovement:1.4.1'
|
|
implementation 'com.github.kyleduo:SwitchButton:2.0.3-SNAPSHOT'
|
|
implementation 'com.github.LeonardoCardoso:Android-Link-Preview:master'
|
|
} |