41 lines
1.0 KiB
Groovy
41 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.sdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.sdkVersion
|
|
versionCode 1
|
|
versionName "1.0.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
|
|
arguments "-j${Runtime.runtime.availableProcessors()}"
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path 'src/main/jni/Android.mk'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':plugin')
|
|
testImplementation "junit:junit:$junitVersion"
|
|
androidTestImplementation "com.android.support.test:runner:$androidTestVersion"
|
|
androidTestImplementation "com.android.support.test.espresso:espresso-core:$androidEspressoVersion"
|
|
}
|