31 lines
784 B
Groovy
31 lines
784 B
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'org.jetbrains.kotlin.android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace 'com.pdlive.lib_so'
|
||
|
compileSdk rootProject.ext.android.compileSdkVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk rootProject.ext.android.minSdkVersion
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_18
|
||
|
targetCompatibility JavaVersion.VERSION_18
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
api rootProject.ext.dependencies["appcompat-androidx"]
|
||
|
}
|