blob: ce5a17b5a73199c4eccf82ddc1ad6904d43321cf [file] [log] [blame]
Yigit Boyarb96ccea2016-10-31 17:51:15 -07001apply plugin: 'com.android.library'
Sergey Vasilinetsb085e342016-12-05 19:02:59 -08002apply plugin: 'maven'
Yigit Boyarb96ccea2016-10-31 17:51:15 -07003
4android {
Yigit Boyar450ed382017-03-02 09:48:25 -08005 compileSdkVersion tools.current_sdk
6 buildToolsVersion tools.build_tools_version
Yigit Boyarb96ccea2016-10-31 17:51:15 -07007
8 defaultConfig {
Yigit Boyar450ed382017-03-02 09:48:25 -08009 minSdkVersion flatfoot.min_sdk
10 targetSdkVersion tools.current_sdk
Yigit Boyarb96ccea2016-10-31 17:51:15 -070011 versionCode 1
12 versionName "1.0"
13
14 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15
16 }
17 buildTypes {
18 release {
19 minifyEnabled false
20 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21 }
22 }
Yigit Boyarb96ccea2016-10-31 17:51:15 -070023
Yigit Boyarc1b53ee2016-11-09 15:33:52 -080024 testOptions {
25 unitTests.returnDefaultValues = true
26 }
27}
Yigit Boyarb96ccea2016-10-31 17:51:15 -070028dependencies {
Yigit Boyar9c3bbb72017-01-13 11:04:36 -080029 compile project(":lifecycle:common")
Yigit Boyar2eb51992016-12-13 15:00:07 -080030 compile project(":lifecycle:runtime")
Yigit Boyar450ed382017-03-02 09:48:25 -080031 compile project(":apptoolkit:core")
32 compile libs.support.fragments
33 testCompile project(":apptoolkit:core-testing")
34 testCompile libs.junit
35 testCompile libs.mockito.all
36 // TODO remove ?
37 testCompile(libs.test_runner) {
Sergey Vasilinetsc43ce902017-02-15 18:45:00 -080038 exclude module: 'support-annotations'
39 }
Yigit Boyar450ed382017-03-02 09:48:25 -080040 androidTestCompile(libs.test_runner) {
Yigit Boyarfe127e52017-01-27 14:30:20 -080041 exclude module: 'support-annotations'
42 }
Yigit Boyar450ed382017-03-02 09:48:25 -080043 androidTestCompile libs.support.app_compat
44 androidTestCompile(libs.espresso_core, {
Yigit Boyarf5b6bd72016-12-14 17:59:12 -080045 exclude group: 'com.android.support', module: 'support-annotations'
46 })
Yigit Boyar19b41102016-11-20 10:46:32 -080047}
48
Sergey Vasilinetsb085e342016-12-05 19:02:59 -080049createAndroidCheckstyle(project)
50
Yigit Boyar83ebc492017-03-08 20:43:45 -080051archivesBaseName = "extensions"