Markwon/sample/build.gradle
2020-06-26 17:12:13 +03:00

76 lines
2.2 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion config['compile-sdk']
buildToolsVersion config['build-tools']
defaultConfig {
applicationId "io.noties.markwon.sample"
minSdkVersion config['min-sdk']
targetSdkVersion config['target-sdk']
versionCode 1
versionName version
setProperty("archivesBaseName", "markwon-sample-$versionName")
resConfig 'en'
}
lintOptions {
abortOnError false
}
dexOptions {
preDexLibraries true
javaMaxHeapSize '5g'
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation project(':markwon-core')
implementation project(':markwon-editor')
implementation project(':markwon-ext-latex')
implementation project(':markwon-ext-strikethrough')
implementation project(':markwon-ext-tables')
implementation project(':markwon-ext-tasklist')
implementation project(':markwon-html')
implementation project(':markwon-image')
implementation project(':markwon-inline-parser')
implementation project(':markwon-linkify')
implementation project(':markwon-recycler')
implementation project(':markwon-recycler-table')
implementation project(':markwon-simple-ext')
implementation project(':markwon-syntax-highlight')
implementation project(':markwon-image-picasso')
implementation project(':markwon-image-glide')
deps.with {
implementation it['x-recycler-view']
implementation it['x-core'] // for precomputedTextCompat
implementation it['x-appcompat'] // for setTextFuture
implementation it['okhttp']
implementation it['prism4j']
implementation it['debug']
implementation it['adapt']
implementation it['android-svg']
implementation it['android-gif']
}
deps['annotationProcessor'].with {
annotationProcessor it['prism4j-bundler']
}
deps['test'].with {
testImplementation it['junit']
testImplementation it['robolectric']
testImplementation it['mockito']
}
}