Shitter-android-app/app/build.gradle

74 lines
2.2 KiB
Groovy

plugins {
id 'com.android.application'
id 'io.michaelrocks.paranoid'
id 'ru.cleverpumpkin.proguard-dictionaries-generator'
}
android {
compileSdkVersion 33
buildToolsVersion '33.0.2'
namespace 'org.nuclearfog.twidda'
defaultConfig {
applicationId 'org.nuclearfog.twidda'
minSdkVersion 21
targetSdkVersion 33
versionCode 72
versionName '3.0.4'
resConfigs 'en', 'de-rDE', 'zh-rCN'
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
debuggable false
multiDexEnabled false
proguardFile 'proguard-rules.pro'
}
debug {
applicationIdSuffix '.debug'
versionNameSuffix '.DEBUG'
}
}
packagingOptions {
jniLibs {
excludes += ['/META-INF/androidx.*', '/META-INF/kotlin*', '/META-INF/com.*', '/META-INF/services/**', '/META-INF/com/**', '/kotlin/**', '/Debug*']
}
resources {
excludes += ['/META-INF/CHANGES', '/META-INF/DEPENDENCIES', '/META-INF/README.md', '/META-INF/androidx.*', '/META-INF/kotlin*', '/META-INF/com.*', '/META-INF/services/**', '/META-INF/com/**', '/kotlin/**', '/Debug*']
}
}
paranoid {
enabled true
}
}
proguardDictionaries {
dictionaryNames = ['dict/class-dictionary', 'dict/package-dictionary', 'dict/obfuscation-dictionary']
minLineLength 4
maxLineLength 8
linesCountInDictionary 12500
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'org.jsoup:jsoup:1.15.3'
//noinspection GradleDependency
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
//noinspection GradleDependency
implementation 'com.squareup.picasso:picasso:2.8'
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.4'
implementation 'com.github.nuclearfog:Tagger:2.3'
implementation 'com.github.nuclearfog:LinkAndScrollMovement:1.4.1'
implementation 'com.github.kyleduo:SwitchButton:2.0.3-SNAPSHOT'
}