nextcloud-notes-android/markdown/build.gradle
Niedermann IT-Dienstleistungen 2534aefb77
Remove robolectric config (#1242)
This is no longer necessary:

```java
@config(sdk = [Build.VERSION_CODES.P])
```
2021-05-31 11:33:33 +02:00

62 lines
No EOL
2.1 KiB
Groovy

plugins {
id 'com.android.library'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
compileOptions {
coreLibraryDesugaringEnabled true
}
testOptions {
unitTests {
includeAndroidResources true
}
}
}
dependencies {
implementation 'com.github.nextcloud:Android-SingleSignOn:0.5.6'
implementation 'com.github.stefan-niedermann:android-commons:0.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.lifecycle:lifecycle-livedata:2.3.1'
implementation 'org.jsoup:jsoup:1.13.1'
def markwonVersion = '4.6.2'
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") {
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:21.0.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.5.1'
}