mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
126fc3e088
commit_hash:2d11541ba855a97c59b2d5dd92da3232aafa308c
42 lines
990 B
Groovy
42 lines
990 B
Groovy
apply plugin: "kotlin-android"
|
|
apply plugin: "kotlin-allopen"
|
|
|
|
android {
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
|
|
versionName divkitVersion.baseVersionName
|
|
versionCode divkitVersion.versionCode
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.register('sourceJar', Jar) {
|
|
from android.sourceSets.main.java.srcDirs
|
|
archiveClassifier = "sources"
|
|
}
|
|
|
|
allOpen {
|
|
annotation("com.yandex.div.core.annotations.Mockable")
|
|
}
|