apply plugin: 'com.android.library' android { buildToolsVersion '29.0.0' compileSdkVersion 29 defaultConfig { minSdkVersion 16 targetSdkVersion 29 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt') } } externalNativeBuild { ndkBuild { path "src/main/jni/Android.mk" } } } dependencies { implementation 'com.squareup.okhttp:okhttp:2.7.5' implementation 'com.squareup.okio:okio:1.13.0' // We expose an interface containing a jmDNS class // so we need to expose the jmDNS library to users // at compile time. api 'org.jmdns:jmdns:3.5.5' }