blob: 7912d8a8712b503d8c3daf3c41aee31c93809fa3 [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 Boyar1db90082016-11-11 17:00:31 -08005 compileSdkVersion compile_sdk_version
6 buildToolsVersion build_tools_version
Yigit Boyarb96ccea2016-10-31 17:51:15 -07007
8 defaultConfig {
Yigit Boyar1db90082016-11-11 17:00:31 -08009 minSdkVersion min_sdk_version
10 targetSdkVersion target_sdk_version
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 {
29 compile project(":runtime")
Sergey Vasilinetsb085e342016-12-05 19:02:59 -080030 compile "com.android.support:support-fragment:$support_lib_version"
Yigit Boyar1db90082016-11-11 17:00:31 -080031 testCompile "junit:junit:$junit_version"
32 testCompile "org.mockito:mockito-core:$mockito_version"
Yigit Boyar19b41102016-11-20 10:46:32 -080033}
34
Sergey Vasilinetsb085e342016-12-05 19:02:59 -080035createAndroidCheckstyle(project)
36
37uploadArchives {
38 repositories {
39 mavenDeployer {
40 repository(url : rootProject.ext.localMavenRepo)
41 pom.artifactId = "extensions"
42 }
43 }
44}