moshidon/mastodon/build.gradle

81 lines
2.4 KiB
Groovy
Raw Normal View History

2022-01-14 13:02:10 +01:00
plugins {
id 'com.android.application'
}
android {
2022-09-29 00:23:00 +02:00
compileSdk 33
2022-01-14 13:02:10 +01:00
defaultConfig {
archivesBaseName = "moshidon"
2022-12-06 17:03:26 +01:00
applicationId "org.joinmastodon.android.moshinda"
2022-01-14 13:02:10 +01:00
minSdk 23
2022-09-29 00:23:00 +02:00
targetSdk 33
versionCode 53
versionName "1.1.4+fork.53.moshinda"
2022-04-13 03:39:14 +02:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2022-11-07 04:27:26 +01:00
resConfigs "en", "ar-rSA", "bs-rBA", "ca-rES", "cs-rCZ", "de-rDE", "el-rGR", "es-rES",
"eu-rES", "fi-rFI", "fr-rFR", "gl-rES", "hr-rHR", "hy-rAM", "it-rIT", "iw-rIL",
"ja-rJP", "kab", "ko-rKR", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ru-rRU",
"sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "vi-rVN", "zh-rCN", "zh-rTW"
2022-01-14 13:02:10 +01:00
}
buildTypes {
release {
2022-11-20 16:09:42 +01:00
// minifyEnabled true
// shrinkResources true
2022-03-29 09:38:38 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2022-01-14 13:02:10 +01:00
}
2022-02-15 21:09:39 +01:00
debug{
debuggable true
2022-11-20 16:09:42 +01:00
versionNameSuffix '-debug'
2022-11-24 20:36:26 +01:00
applicationIdSuffix '.debug'
2022-02-15 21:09:39 +01:00
}
2022-10-31 07:26:17 +01:00
githubRelease{
initWith release
}
2022-11-28 17:50:26 +01:00
noFederatedRelease{
initWith release
versionNameSuffix '-nofederated'
}
2022-01-14 13:02:10 +01:00
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
2022-01-14 13:02:10 +01:00
coreLibraryDesugaringEnabled true
}
2022-02-15 21:09:39 +01:00
sourceSets{
2022-10-31 07:26:17 +01:00
githubRelease{
setRoot "src/github"
}
2022-11-01 23:27:50 +01:00
debug {
setRoot "src/github"
}
2022-02-15 21:09:39 +01:00
}
2022-09-02 10:21:28 +02:00
lintOptions{
checkReleaseBuilds false
abortOnError false
}
2022-01-14 13:02:10 +01:00
}
dependencies {
api 'androidx.annotation:annotation:1.3.0'
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
2022-02-07 13:07:12 +01:00
implementation 'me.grishka.litex:recyclerview:1.2.1.1'
2022-03-12 20:02:51 +01:00
implementation 'me.grishka.litex:swiperefreshlayout:1.1.0.1'
2022-01-14 13:02:10 +01:00
implementation 'me.grishka.litex:browser:1.4.0'
2022-01-22 20:34:05 +01:00
implementation 'me.grishka.litex:dynamicanimation:1.1.0-alpha03'
2022-02-07 13:07:12 +01:00
implementation 'me.grishka.litex:viewpager:1.0.0'
2022-01-22 20:34:05 +01:00
implementation 'me.grishka.litex:viewpager2:1.0.0'
2022-11-15 11:11:56 +01:00
implementation 'me.grishka.appkit:appkit:1.2.7'
2022-01-14 13:02:10 +01:00
implementation 'com.google.code.gson:gson:2.8.9'
2022-01-17 11:27:34 +01:00
implementation 'org.jsoup:jsoup:1.14.3'
2022-01-17 19:50:48 +01:00
implementation 'com.squareup:otto:1.3.8'
implementation 'de.psdev:async-otto:1.0.3'
2022-01-18 20:49:14 +01:00
implementation 'org.parceler:parceler-api:1.1.12'
annotationProcessor 'org.parceler:parceler:1.1.12'
2022-01-14 13:02:10 +01:00
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
2022-02-15 21:09:39 +01:00
2022-04-13 03:39:14 +02:00
androidTestImplementation 'androidx.test:core:1.4.1-alpha05'
androidTestImplementation 'androidx.test.ext:junit:1.1.4-alpha05'
androidTestImplementation 'androidx.test:runner:1.5.0-alpha02'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0-alpha05'
2022-01-14 13:02:10 +01:00
}