2019-06-03 23:25:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2022-02-09 21:06:13 +01:00
|
|
|
compileSdkVersion 31
|
2019-06-03 23:25:05 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.mian.gitnex"
|
2022-03-18 09:56:49 +01:00
|
|
|
minSdkVersion 22
|
2022-02-09 21:06:13 +01:00
|
|
|
targetSdkVersion 31
|
2022-02-27 15:10:24 +01:00
|
|
|
versionCode 425
|
|
|
|
versionName "4.3.0"
|
2020-09-26 17:05:51 +02:00
|
|
|
multiDexEnabled true
|
2019-06-03 23:25:05 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2020-09-26 17:05:51 +02:00
|
|
|
flavorDimensions "default"
|
|
|
|
productFlavors {
|
|
|
|
free {
|
|
|
|
applicationId "org.mian.gitnex"
|
|
|
|
}
|
|
|
|
pro {
|
|
|
|
applicationId "org.mian.gitnex.pro"
|
|
|
|
}
|
|
|
|
}
|
2020-07-09 08:55:05 +02:00
|
|
|
buildFeatures {
|
2021-08-03 09:41:40 +02:00
|
|
|
viewBinding true
|
2020-05-22 00:49:09 +02:00
|
|
|
}
|
2019-06-03 23:25:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-04-17 12:10:32 +02:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
2021-03-21 16:56:54 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
//checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2020-03-16 10:25:15 +01:00
|
|
|
compileOptions {
|
2020-11-08 19:58:47 +01:00
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
|
2022-03-28 16:37:36 +02:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
2020-03-16 10:25:15 +01:00
|
|
|
}
|
2020-08-20 18:21:55 +02:00
|
|
|
defaultConfig{
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
2020-03-16 10:25:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
cleanedAnnotations
|
2020-04-14 22:55:04 +02:00
|
|
|
compile.exclude group: 'org.jetbrains', module: 'annotations'
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-02-22 07:23:46 +01:00
|
|
|
def lifecycle_version = '2.4.1'
|
2021-03-21 16:56:54 +01:00
|
|
|
def markwon_version = '4.6.2'
|
2022-02-22 07:23:46 +01:00
|
|
|
def work_version = "2.7.1"
|
2022-03-27 20:41:20 +02:00
|
|
|
def acra = '5.8.4'
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2022-02-09 21:06:13 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
2022-03-27 20:47:08 +02:00
|
|
|
implementation 'com.google.android.material:material:1.5.0'
|
2021-10-04 15:35:34 +02:00
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
2022-02-09 21:06:13 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
2020-06-30 20:59:11 +02:00
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
2021-03-21 16:56:54 +01:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2021-08-03 09:41:40 +02:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2021-03-21 16:56:54 +01:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2'
|
2022-03-27 20:41:20 +02:00
|
|
|
implementation "com.google.code.gson:gson:2.9.0"
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.squareup.picasso:picasso:2.71828"
|
2021-03-21 16:56:54 +01:00
|
|
|
implementation 'jp.wasabeef:picasso-transformations:2.4.0'
|
|
|
|
implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.amulyakhare:com.amulyakhare.textdrawable:1.0.1"
|
2020-06-30 20:59:11 +02:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
2021-03-21 16:56:54 +01:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2'
|
2022-02-09 21:06:13 +01:00
|
|
|
implementation 'org.ocpsoft.prettytime:prettytime:5.0.2.Final'
|
2019-06-03 23:25:05 +02:00
|
|
|
implementation "com.pes.materialcolorpicker:library:1.2.5"
|
2019-09-29 18:44:42 +02:00
|
|
|
implementation "io.noties.markwon:core:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-latex:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-strikethrough:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tables:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tasklist:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:html:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image-picasso:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:linkify:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler-table:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:simple-ext:$markwon_version"
|
2022-02-09 21:06:13 +01:00
|
|
|
implementation 'org.codeberg.qwerty287:markwonprism4j:9d3ef078cd'
|
|
|
|
implementation 'org.codeberg.qwerty287:Prism4j:3.0.0'
|
2022-03-27 20:41:20 +02:00
|
|
|
implementation 'com.google.guava:guava:31.1-android'
|
2020-11-02 16:17:00 +01:00
|
|
|
implementation "io.noties.markwon:image-picasso:$markwon_version"
|
2019-10-17 19:47:27 +02:00
|
|
|
implementation "com.github.HamidrezaAmz:BreadcrumbsView:0.2.9"
|
2022-03-27 20:41:20 +02:00
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation 'commons-io:commons-io:2.11.0' // do not "upgrade" to 20030203.000550 - this was published over 15 years ago
|
2021-03-21 16:56:54 +01:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.github.chrisbanes:PhotoView:2.3.0"
|
2020-04-18 01:39:49 +02:00
|
|
|
implementation "ch.acra:acra-mail:$acra"
|
|
|
|
implementation "ch.acra:acra-limiter:$acra"
|
|
|
|
implementation "ch.acra:acra-notification:$acra"
|
2022-02-27 15:10:24 +01:00
|
|
|
implementation 'androidx.room:room-runtime:2.4.2'
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.4.2'
|
2020-07-22 21:32:42 +02:00
|
|
|
implementation "androidx.work:work-runtime:$work_version"
|
2020-06-30 16:43:27 +02:00
|
|
|
implementation "io.mikael:urlbuilder:2.0.9"
|
2020-11-08 23:57:33 +01:00
|
|
|
implementation "org.codeberg.gitnex-garage:emoji-java:v5.1.2"
|
2022-03-18 09:57:24 +01:00
|
|
|
implementation "org.codeberg.gitnex:tea4j:1.1.3"
|
2021-03-21 16:56:54 +01:00
|
|
|
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
|
2021-03-09 22:15:42 +01:00
|
|
|
implementation 'androidx.biometric:biometric:1.1.0'
|
2021-08-02 20:04:33 +02:00
|
|
|
implementation 'com.github.chrisvest:stormpot:2.4.2'
|
2022-02-09 21:06:13 +01:00
|
|
|
implementation 'androidx.browser:browser:1.4.0'
|
2022-03-18 09:56:49 +01:00
|
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|