
* Update build configuration * Update commonmark to 0.11.0 and android-gif to 1.2.14 * Add module `library-syntax` * Add default prism4j theme implementation * Add syntax highlight to sample app * Update syntax highlight to use SpannableStringBuilder * Working with syntax rendering * Add darkula theme to syntax highlight * Add attribute for image-loader module * Update version to 1.1.0-SNAPSHOT * Updating build configuration for snapshot publish * Add headingTypeface, headingTextSizes to SpannableTheme (#51) * Add headingTypeface to SpannableTheme, use a custom heading typeface in the sample app * Add headingTextSizes * Switching to headingTextSizeMultipliers, adding validating annotations, adding example * Consolidate logic, add crash if header index is out of bounds * Add small version clarifications * Introduce MediaDecoder abstraction for image-loader module * Switch to use SpannableFactory * Switch to use SpannableFactory for html parsing * Update sample application to add play-pause functionality for gifs * Small cleanup * Update prism4j version 1.1.0 * Update build configuration * Add README to library-syntax module * Update README
46 lines
1.0 KiB
Groovy
46 lines
1.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
|
|
compileSdkVersion TARGET_SDK
|
|
buildToolsVersion BUILD_TOOLS
|
|
|
|
defaultConfig {
|
|
applicationId "ru.noties.markwon"
|
|
minSdkVersion MIN_SDK
|
|
targetSdkVersion TARGET_SDK
|
|
versionCode 1
|
|
versionName version
|
|
setProperty("archivesBaseName", "markwon-sample-$versionName")
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFile 'proguard.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(':library')
|
|
implementation project(':library-image-loader')
|
|
implementation project(':library-syntax')
|
|
|
|
implementation 'ru.noties:debug:3.0.0@jar'
|
|
implementation 'me.saket:better-link-movement-method:2.2.0'
|
|
|
|
implementation OK_HTTP
|
|
|
|
implementation 'com.google.dagger:dagger:2.10'
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.10'
|
|
|
|
implementation PRISM_4J
|
|
annotationProcessor PRISM_4J_BUNDLER
|
|
}
|