-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
build.gradle
61 lines (53 loc) · 1.94 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
repositories {
// See dependencies below.
mavenLocal()
}
apply plugin: 'com.android.application'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "com.facebook.stetho.sample"
minSdkVersion 14
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
buildTypes {
// release target excludes Stetho for illustration purposes.
// See dependencies for instructions on how Stetho developers
// can test this.
release {
debuggable false
signingConfig signingConfigs.debug
}
}
}
dependencies {
implementation project(':stetho')
implementation project(':stetho-urlconnection')
// Uncomment if you wish to play with the Console evaluation
// features of the Rhino JS implementation. Disabled by default
// because it is a large JAR by comparison to the rest of
// Stetho.
//debugCompile project(':stetho-js-rhino')
// We must use Maven dependency resolution to demonstrate our usage
// of optional dependencies to include stetho-urlconnection but not
// the full blown stetho. For most projects, of course the simpler
// way to express this is:
//
// dependencies {
// debugImplementation 'com.facebook.stetho:stetho:<VERSION>'
// implementation 'com.facebook.stetho:stetho-urlconnection:<VERSION>'
// }
//
// For Stetho developers, to verify locally that things are working
// properly, you must install the latest version to ~/.m2/repository as
// such:
//
// ./gradlew installArchives
//
// Then uncomment the Maven style dependency and comment the project one:
//releaseImplementation "com.facebook.stetho:stetho-urlconnection:${VERSION_NAME}"
releaseImplementation project(':stetho-urlconnection')
implementation 'com.google.code.findbugs:jsr305:3.0.2'
}