Files
divkit/client/android/div-common.gradle
pkurchatov 126fc3e088 Cleanup
commit_hash:2d11541ba855a97c59b2d5dd92da3232aafa308c
2026-01-27 13:27:52 +03:00

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")
}