apply plugin: 'com.android.library' ext { PUBLISH_GROUP_ID = 'com.flurgle' PUBLISH_ARTIFACT_ID = 'camerakit' PUBLISH_VERSION = '0.9.16' } android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { minSdkVersion 15 targetSdkVersion 25 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/base' main.java.srcDirs += 'src/main/api16' main.java.srcDirs += 'src/main/api21' main.java.srcDirs += 'src/main/types' main.java.srcDirs += 'src/main/utils' } } dependencies { compile 'com.android.support:appcompat-v7:25.2.0' } apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'