apply plugin: 'com.android.library' ext { PUBLISH_GROUP_ID = 'com.flurgle' PUBLISH_ARTIFACT_ID = 'camerakit' PUBLISH_VERSION = '0.9.18' } android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "0.1" } 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' compile 'android.arch.lifecycle:runtime:1.0.0-alpha1' compile 'android.arch.lifecycle:extensions:1.0.0-alpha1' annotationProcessor 'android.arch.lifecycle:compiler:1.0.0-alpha1' } // apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'