Skip to content

Commit f45a57c

Browse files
author
Mantas Palaima
committed
released 0.2.0
1 parent 9a391ec commit f45a57c

File tree

5 files changed

+37
-18
lines changed

5 files changed

+37
-18
lines changed

README.md

+28-13
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Faster development with Debug Drawer
88

99
## Features
1010

11-
Currently exists 6 modules:
11+
Currently exists 7 modules:
1212

1313
`DeviceModule` - common information about your device
1414

@@ -34,49 +34,63 @@ Currently exists 6 modules:
3434

3535
![](https://github.com/palaima/DebugDrawer/raw/master/images/picasso.png)
3636

37+
`ScalpelModule` - tool to uncover the layers under your app (requires extra dependency)
38+
Thanks [ebabel](https://github.com/ebabel) for contributing.
39+
40+
![](https://github.com/palaima/DebugDrawer/raw/master/images/scalpel.png)
41+
3742
## TODO Features
3843

39-
`LocationModule`, `UserInterfaceModule`, `LogsModule`
44+
`LocationModule`, `LogsModule`
4045

4146
## Getting Started
4247

4348
Add Gradle dependency:
4449

4550
```gradle
4651
dependencies {
47-
compile 'io.palaima.debugdrawer:debugdrawer:0.1.1'
52+
compile 'io.palaima.debugdrawer:debugdrawer:0.2.0'
4853
}
4954
```
5055

5156
If you are using popular [OkHttp](https://github.com/square/okhttp) library. Probably you will be interesting in network statistics
5257
```gradle
5358
dependencies {
54-
compile 'io.palaima.debugdrawer:debugdrawer-okhttp:0.1.1'
59+
compile 'io.palaima.debugdrawer:debugdrawer-okhttp:0.2.0'
5560
}
5661
```
5762

5863
Or if you are using [Picasso](https://github.com/square/picasso) library, also from Square Inc.
5964
```gradle
6065
dependencies {
61-
compile 'io.palaima.debugdrawer:debugdrawer-picasso:0.1.1'
66+
compile 'io.palaima.debugdrawer:debugdrawer-picasso:0.2.0'
67+
}
68+
```
69+
70+
`ScalpelModule`
71+
```gradle
72+
dependencies {
73+
compile 'io.palaima.debugdrawer:debugdrawer-scalpel:0.2.0'
6274
}
6375
```
6476

77+
* Or
78+
[DebugDrawer Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer/0.2.0/debugdrawer-0.2.0.aar)
6579

6680
* Or
67-
[DebugDrawer Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer/0.1.1/debugdrawer-0.1.1.aar)
81+
[DebugDrawer-Picasso Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer-picasso/0.2.0/debugdrawer-picasso-0.2.0.aar)
6882

6983
* Or
70-
[DebugDrawer-Picasso Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer-picasso/0.1.1/debugdrawer-picasso-0.1.1.aar)
84+
[DebugDrawer-OkHttp Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer-okhttp/0.2.0/debugdrawer-okhttp-0.2.0.aar)
7185

7286
* Or
73-
[DebugDrawer-OkHttp Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer-okhttp/0.1.1/debugdrawer-okhttp-0.1.1.aar)
87+
[DebugDrawer-Scalpel Download from Maven](https://oss.sonatype.org/content/repositories/releases/io/palaima/debugdrawer/debugdrawer-scalpel/0.2.0/debugdrawer-scalpel-0.2.0.aar)
7488

7589
You can try the SNAPSHOT version:
7690

7791
```gradle
7892
dependencies {
79-
compile 'io.palaima.debugdrawer:debugdrawer:0.2.0-SNAPSHOT'
93+
compile 'io.palaima.debugdrawer:debugdrawer:0.3.0-SNAPSHOT'
8094
}
8195
```
8296
Make sure to add the snapshot repository:
@@ -101,6 +115,7 @@ protected void onCreate(Bundle savedInstanceState) {
101115
super.onCreate(savedInstanceState);
102116
if (BuildConfig.DEBUG) {
103117
mDebugDrawer = new DebugDrawer.Builder(this).modules(
118+
new ScalpelModule(this),
104119
new OkHttpModule(mOkHttpClient),
105120
new PicassoModule(mPicasso),
106121
new DeviceModule(this),
@@ -179,10 +194,10 @@ You can clone the project and compile it yourself (it includes a sample).
179194
Want to contribute? You are welcome!
180195

181196
### Pull Requests
182-
1. Fork the repo and create your branch from `dev`.
183-
2. If you've changed APIs, update the documentation.
184-
3. Make sure your code lints.
185-
4. Change README.md if necessary
197+
* Fork the repo and create your branch from `dev`.
198+
* If you've changed APIs, update the documentation.
199+
* Make sure your code lints.
200+
* Change README.md if necessary
186201

187202
### Coding Style
188203
* Use the `m` member variable prefix for private fields

app/build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ dependencies {
3838
compile 'com.android.support:appcompat-v7:22.1.1'
3939
compile 'com.squareup.picasso:picasso:2.5.2'
4040
compile 'com.squareup.okhttp:okhttp:2.2.0'
41-
/*compile 'io.palaima.debugdrawer:debugdrawer:0.1.1'
42-
compile 'io.palaima.debugdrawer:debugdrawer-okhttp:0.1.1'
43-
compile 'io.palaima.debugdrawer:debugdrawer-picasso:0.1.1'*/
41+
/* compile 'io.palaima.debugdrawer:debugdrawer:0.2.0'
42+
compile 'io.palaima.debugdrawer:debugdrawer-okhttp:0.2.0'
43+
compile 'io.palaima.debugdrawer:debugdrawer-scalpel:0.2.0'
44+
compile 'io.palaima.debugdrawer:debugdrawer-picasso:0.2.0'*/
4445
compile project(':debugdrawer')
4546
compile project(':debugdrawer-picasso')
4647
compile project(':debugdrawer-okhttp')

gradle.properties

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1414
# org.gradle.parallel=true
1515
#Sat May 30 12:41:55 EEST 2015
16+
17+
org.gradle.jvmargs=-Xmx2048m -XX\:MaxPermSize\=512m
18+
org.gradle.parallel=false
19+
1620
POM_LICENCE_URL=http\://www.apache.org/licenses/LICENSE-2.0.txt
17-
VERSION_NAME=0.2.0-SNAPSHOT
21+
VERSION_NAME=0.2.0
1822
VERSION_CODE=3
1923
POM_DEVELOPER_ID=palaima
2024
POM_SCM_DEV_CONNECTION=scm\:[email protected]\:palaima/DebugDrawer.git
21-
org.gradle.jvmargs=-Xmx2048m -XX\:MaxPermSize\=512m
2225
POM_SCM_URL=https\://github.com/palaima/DebugDrawer
2326
GROUP=io.palaima.debugdrawer
2427
POM_LICENCE_DIST=repo

images/all.png

9.88 KB
Loading

images/scalpel.png

24.1 KB
Loading

0 commit comments

Comments
 (0)