forked from bumptech/glide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (34 loc) · 1.13 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
apply plugin: 'com.android.library'
apply plugin: 'org.robolectric'
repositories {
mavenCentral()
}
dependencies {
compile project(':glide')
testCompile project(":testutil")
testCompile "com.google.truth:truth:${TRUTH_VERSION}"
testCompile "junit:junit:${JUNIT_VERSION}"
testCompile "org.mockito:mockito-all:${MOCKITO_VERSION}"
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
testCompile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
}
android {
compileSdkVersion COMPILE_SDK_VERSION as int
buildToolsVersion BUILD_TOOLS_VERSION as String
sourceSets {
main {
java.srcDirs = ['src/main/java', '../../third_party/gif_encoder/src/main/java']
}
}
defaultConfig {
minSdkVersion MIN_SDK_VERSION as int
targetSdkVersion TARGET_SDK_VERSION as int
versionCode = VERSION_CODE as int
versionName = VERSION_NAME as String
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
apply from: "$rootProject.projectDir/scripts/upload.gradle"