Markwon/library/build.gradle
Daniel Leal d7630631b6 Extract gradle code to assemble and publish library to external gradle file
Adapted library and library-image-loader gradle files
2018-01-29 12:31:27 +01:00

37 lines
812 B
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion TARGET_SDK
buildToolsVersion BUILD_TOOLS
defaultConfig {
minSdkVersion MIN_SDK
targetSdkVersion TARGET_SDK
versionCode 1
versionName version
consumerProguardFiles 'lib-proguard-rules.pro'
}
libraryVariants.all { variant ->
variant.outputs.all {
outputFileName = "${POM_ARTIFACT_ID}-release.aar"
}
}
}
dependencies {
api SUPPORT_ANNOTATIONS
implementation COMMON_MARK
implementation COMMON_MARK_STRIKETHROUGHT
implementation COMMON_MARK_TABLE
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
mavenCentral()
}
apply from: '../artifactory-mvn-push.gradle'