-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathbuild.gradle
83 lines (71 loc) · 2.54 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
77
78
79
80
81
82
83
/*
* 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.AndroidX.androidxAnnotation
compileOnly Deps.AndroidX.legacySupportCoreUtils
compileOnly Deps.jsr305
compileOnly Deps.inferAnnotation
compileOnly Deps.javaxAnnotation
api project(':imagepipeline-base')
implementation Deps.SoLoader.nativeloader
implementation Deps.SoLoader.soloaderAnnotation
implementation Deps.Bolts.tasks
implementation project(':fbcore')
implementation project(':middleware')
implementation project(':urimod')
implementation GradleDeps.Kotlin.stdlib
testImplementation Deps.AndroidX.legacySupportCoreUtils
testImplementation Deps.jsr305
testImplementation project(':imagepipeline-test')
testImplementation project(':imagepipeline-base-test')
testImplementation project(':native-imagetranscoder')
testImplementation TestDeps.assertjCore
testImplementation TestDeps.junit
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
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'
}
testImplementation TestDeps.truth
}
android {
buildToolsVersion FrescoConfig.buildToolsVersion
compileSdkVersion FrescoConfig.compileSdkVersion
namespace "com.facebook.imagepipeline"
defaultConfig {
minSdkVersion FrescoConfig.minSdkVersion
targetSdkVersion FrescoConfig.targetSdkVersion
}
sourceSets {
test {
java {
exclude '**/LocalVideoThumbnailProducerTest.java'
exclude '**/DecodeProducerTest.java'
exclude '**/HttpUrlConnectionNetworkFetcherTest.java'
}
}
}
}
apply plugin: "com.vanniktech.maven.publish"
repositories {
mavenCentral()
}