2020-12-21 14:27:19 +03:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
2021-01-05 07:04:53 +03:00
|
|
|
buildToolsVersion "30.0.3"
|
2020-12-21 14:27:19 +03:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 30
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
multiDexEnabled true
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-29 20:20:42 +03:00
|
|
|
ext {
|
2021-02-09 15:48:39 +03:00
|
|
|
markwonVersion = "4.6.2"
|
2020-12-29 20:20:42 +03:00
|
|
|
rxMarkdownVersion = "0.1.3"
|
|
|
|
}
|
|
|
|
|
2020-12-21 14:27:19 +03:00
|
|
|
dependencies {
|
2021-01-03 13:55:40 +03:00
|
|
|
implementation 'com.github.nextcloud:Android-SingleSignOn:0.5.6'
|
2020-12-22 15:55:16 +03:00
|
|
|
implementation 'com.github.stefan-niedermann:android-commons:0.2.0'
|
2020-12-21 14:27:19 +03:00
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2021-02-11 08:36:33 +03:00
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata:2.3.0"
|
2020-12-21 14:27:19 +03:00
|
|
|
|
2020-12-29 20:20:42 +03:00
|
|
|
implementation "io.noties.markwon:core:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:editor:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:ext-tables:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:html:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:image:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:image-glide:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:linkify:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:simple-ext:$markwonVersion"
|
|
|
|
implementation "io.noties.markwon:inline-parser:$markwonVersion"
|
|
|
|
implementation("io.noties.markwon:syntax-highlight:$markwonVersion") {
|
2020-12-21 14:27:19 +03:00
|
|
|
exclude group: 'org.jetbrains', module: 'annotations-java5'
|
|
|
|
}
|
|
|
|
implementation("io.noties:prism4j:2.0.0") {
|
|
|
|
exclude group: 'org.jetbrains', module: 'annotations-java5'
|
|
|
|
}
|
|
|
|
annotationProcessor "io.noties:prism4j-bundler:2.0.0"
|
|
|
|
implementation 'org.jetbrains:annotations:20.1.0'
|
|
|
|
|
2020-12-29 20:20:42 +03:00
|
|
|
implementation "com.yydcdut:markdown-processor:$rxMarkdownVersion"
|
|
|
|
implementation "com.yydcdut:rxmarkdown-wrapper:$rxMarkdownVersion"
|
2020-12-21 14:27:19 +03:00
|
|
|
|
|
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
2021-02-26 09:19:17 +03:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
2020-12-21 14:27:19 +03:00
|
|
|
|
2021-02-15 08:37:25 +03:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2020-12-21 14:27:19 +03:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
}
|