/
build.gradle
56 lines (49 loc) · 1.45 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
id 'com.android.library'
id 'com.github.dcendents.android-maven' version '1.5'
}
ext {
PUBLISH_GROUP_ID = 'io.alterac.blurkit'
PUBLISH_ARTIFACT_ID = 'blurkit'
PUBLISH_VERSION = '1.1.0'
}
android {
compileSdkVersion versions.compileSdk
buildToolsVersion '28.0.2'
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
versionCode 1
versionName "1.1.0"
renderscriptTargetApi 28
renderscriptSupportModeEnabled true
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}
testOptions {
unitTests.returnDefaultValues = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:1.10.19'
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test:rules:1.0.2'
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
}
install {
repositories.mavenInstaller {
pom.project {
groupId project.group
artifactId 'blurkit'
packaging 'aar'
}
}
}
apply from : 'deploy.gradle'