-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathbuild.gradle
76 lines (65 loc) · 2.3 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import com.facebook.fresco.buildsrc.Deps
import com.facebook.fresco.buildsrc.GradleDeps
import com.facebook.fresco.buildsrc.TestDeps
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
kotlin {
jvmToolchain(11)
}
dependencies {
compileOnly Deps.inferAnnotation
compileOnly Deps.javaxAnnotation
compileOnly Deps.jsr305
compileOnly Deps.AndroidX.androidxAnnotation
api project(':fbcore')
api project(':imagepipeline-base')
api project(':imagepipeline')
api project(':imagepipeline-native')
api project(':memory-types:ashmem')
api project(':memory-types:nativememory')
api project(':memory-types:simple')
api project(':animated-drawable')
implementation Deps.Bolts.tasks
implementation project(':vito:options')
implementation project(':middleware')
testCompileOnly Deps.inferAnnotation
testImplementation project(':imagepipeline-test')
testImplementation project(':imagepipeline-base-test')
testImplementation TestDeps.assertjCore
testImplementation TestDeps.junit
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoInline
testImplementation(TestDeps.Powermock.apiMockito) {
exclude group: 'org.mockito', module: 'mockito-all'
}
testImplementation TestDeps.Powermock.moduleJunit4
testImplementation TestDeps.Powermock.moduleJunit4Rule
testImplementation TestDeps.Powermock.classloadingXstream
testImplementation(TestDeps.robolectric) {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
}
android {
ndkVersion GradleDeps.Native.version
buildToolsVersion FrescoConfig.buildToolsVersion
compileSdkVersion FrescoConfig.compileSdkVersion
namespace "com.facebook.imagepipeline.animated"
defaultConfig {
minSdkVersion FrescoConfig.minSdkVersion
targetSdkVersion FrescoConfig.targetSdkVersion
}
lintOptions {
abortOnError false
}
testOptions {
unitTests.returnDefaultValues = true
}
}
apply plugin: "com.vanniktech.maven.publish"