123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 29
- buildToolsVersion '29.0.2'
- defaultConfig {
- applicationId "org.iotivity.bridge.homeserver"
- minSdkVersion 23
- targetSdkVersion 26
- versionCode 4
- versionName "1.2"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- debuggable true
- jniDebuggable true
- }
- debug {
- jniDebuggable true
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ["src/main/jniLibs", "$buildDir/native-libs"]
- }
- }
- splits {
- abi {
- enable true
- reset()
- include 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
- universalApk true
- }
- }
- }
- dependencies {
- //noinspection GradleCompatible
- implementation 'com.android.support:support-compat:28.0.0'
- //noinspection GradleCompatible
- implementation 'com.android.support:appcompat-v7:28.0.0'
- //compile fileTree(include: ['*.jar'], dir: 'libs')
- androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- implementation 'junit:junit:4.13'
- implementation files('libs/iotivity-lite.jar')
- }
|