• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import android.support.LibraryVersions
2
3import android.support.SupportLibraryExtension
4
5apply plugin: android.support.FlatfootAndroidLibraryPlugin
6
7android {
8    compileSdkVersion tools.current_sdk
9    buildToolsVersion tools.build_tools_version
10
11    defaultConfig {
12        minSdkVersion flatfoot.min_sdk
13        targetSdkVersion tools.current_sdk
14
15        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
16    }
17
18    buildTypes.all {
19        consumerProguardFiles 'proguard-rules.pro'
20    }
21
22    testOptions {
23        unitTests.returnDefaultValues = true
24    }
25}
26
27dependencies {
28    compile project(":lifecycle:common")
29    compile project(":arch:common")
30    // necessary for IJ to resolve dependencies.
31    compile libs.support.annotations
32
33    testCompile libs.junit
34    testCompile libs.mockito_core
35}
36
37createAndroidCheckstyle(project)
38
39version = LibraryVersions.LIFECYCLES_RUNTIME.toString()
40supportLibrary {
41    name 'Android Lifecycle Runtime'
42    publish true
43    inceptionYear '2017'
44    description "Android Lifecycle Runtime"
45    url SupportLibraryExtension.ARCHITECTURE_URL
46}