import android.support.LibraryVersions import android.support.SupportLibraryExtension apply plugin: android.support.FlatfootAndroidLibraryPlugin android { compileSdkVersion tools.current_sdk buildToolsVersion tools.build_tools_version defaultConfig { minSdkVersion flatfoot.min_sdk targetSdkVersion tools.current_sdk testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes.all { consumerProguardFiles 'proguard-rules.pro' } testOptions { unitTests.returnDefaultValues = true } } dependencies { compile project(":lifecycle:common") compile project(":arch:common") // necessary for IJ to resolve dependencies. compile libs.support.annotations testCompile libs.junit testCompile libs.mockito_core } createAndroidCheckstyle(project) version = LibraryVersions.LIFECYCLES_RUNTIME.toString() supportLibrary { name 'Android Lifecycle Runtime' publish true inceptionYear '2017' description "Android Lifecycle Runtime" url SupportLibraryExtension.ARCHITECTURE_URL }