2021-10-02 14:27:42 +02:00
|
|
|
plugins {
|
2022-08-21 12:33:05 +02:00
|
|
|
id 'com.android.application'
|
|
|
|
id 'ru.cleverpumpkin.proguard-dictionaries-generator'
|
2021-10-02 14:27:42 +02:00
|
|
|
}
|
2017-11-04 16:09:25 +01:00
|
|
|
|
|
|
|
android {
|
2022-08-21 12:33:05 +02:00
|
|
|
compileSdkVersion 33
|
2023-02-12 10:15:30 +01:00
|
|
|
buildToolsVersion '33.0.2'
|
2023-01-22 13:45:29 +01:00
|
|
|
namespace 'org.nuclearfog.twidda'
|
2018-10-08 17:31:55 +02:00
|
|
|
|
2022-08-21 12:33:05 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId 'org.nuclearfog.twidda'
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 33
|
2023-04-19 10:49:02 +02:00
|
|
|
versionCode 82
|
|
|
|
versionName '3.1.2'
|
2022-08-21 12:33:05 +02:00
|
|
|
resConfigs 'en', 'de-rDE', 'zh-rCN'
|
|
|
|
}
|
2018-10-08 17:31:55 +02:00
|
|
|
|
2022-08-21 12:33:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
debuggable false
|
|
|
|
multiDexEnabled false
|
|
|
|
proguardFile 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix '.debug'
|
|
|
|
versionNameSuffix '.DEBUG'
|
|
|
|
}
|
|
|
|
}
|
2021-01-16 21:37:56 +01:00
|
|
|
|
2022-08-21 12:33:05 +02:00
|
|
|
packagingOptions {
|
2023-01-22 13:45:29 +01:00
|
|
|
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*']
|
|
|
|
}
|
2022-08-21 12:33:05 +02:00
|
|
|
}
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|
|
|
|
|
2021-06-06 12:15:35 +02:00
|
|
|
proguardDictionaries {
|
2022-08-21 12:33:05 +02:00
|
|
|
dictionaryNames = ['dict/class-dictionary', 'dict/package-dictionary', 'dict/obfuscation-dictionary']
|
2023-04-16 21:29:29 +02:00
|
|
|
minLineLength 2
|
2022-08-21 12:33:05 +02:00
|
|
|
maxLineLength 8
|
2023-04-16 19:52:26 +02:00
|
|
|
linesCountInDictionary 50000
|
2021-06-05 15:45:03 +02:00
|
|
|
}
|
|
|
|
|
2017-11-04 16:09:25 +01:00
|
|
|
dependencies {
|
2023-01-30 22:37:24 +01:00
|
|
|
implementation 'com.google.android.material:material:1.8.0'
|
2023-04-10 01:38:51 +02:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.18.5'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.18.5'
|
|
|
|
implementation 'com.google.android.exoplayer:extension-okhttp:2.18.5'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
2023-03-14 20:32:57 +01:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.3.0'
|
2022-08-21 12:33:05 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2023-03-09 10:38:42 +01:00
|
|
|
implementation 'org.jsoup:jsoup:1.15.4'
|
2022-08-21 12:33:05 +02:00
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
|
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.8'
|
2023-03-24 22:55:38 +01:00
|
|
|
implementation 'jp.wasabeef:picasso-transformations:2.4.0'
|
2022-08-21 12:33:05 +02:00
|
|
|
implementation 'com.github.QuadFlask:colorpicker:0.0.15'
|
|
|
|
implementation 'com.github.nuclearfog:ZoomView:1.0.4'
|
2023-04-02 19:15:01 +02:00
|
|
|
implementation 'com.github.nuclearfog:Tagger:2.4'
|
2022-08-21 12:33:05 +02:00
|
|
|
implementation 'com.github.nuclearfog:LinkAndScrollMovement:1.4.1'
|
|
|
|
implementation 'com.github.kyleduo:SwitchButton:2.0.3-SNAPSHOT'
|
2017-11-04 16:09:25 +01:00
|
|
|
}
|