Skip to content

Commit

Permalink
Use esabook's forked chucker
Browse files Browse the repository at this point in the history
  • Loading branch information
esabook authored and Egit committed Dec 21, 2021
1 parent 506f234 commit ca30d25
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 22 deletions.
29 changes: 9 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,33 @@
# Hyperion-Chucker
[Hyperion](https://github.com/willowtreeapps/Hyperion-Android) Plugin for forked [Chucker](https://github.com/esabook/chucker)


![Overview](asset/hchuck_overview.gif)

## Usage
First, follow the README to set up [Chucker](https://github.com/esabook/chucker). Then, follow the README to set up [Hyperion](https://github.com/willowtreeapps/Hyperion-Android). Then, all you need to do is simply add the dependency:

From:
```
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```

To:
```
allprojects {
repositories {
...
mavenCentral()
// or my latest development snapshot
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots" }
}
}
```


and from:
```
dependencies {
debugImplementation 'com.github.Commit451:Hyperion-Chuck:latest.version.here'
}
```

To:
```
dependencies {
debugImplementation 'io.github.esabook:hyperion-chucker:2.0.0'
// or my latest development snapshot
debugImplementation 'io.github.esabook:hyperion-chucker:2.0.1-SNAPSHOT'
//optional
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:3.5.2"
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:latest.version.number"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MainActivity : AppCompatActivity() {
}

override fun onResponse(call: Call, response: Response) {
response.body()?.string()
response.body?.string()
}
})

Expand Down
Binary file added asset/hchuck_overview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion hyperion-chucker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ android {
dependencies {
api 'androidx.annotation:annotation:1.3.0'
api 'com.willowtreeapps.hyperion:hyperion-plugin:0.9.29'
api 'com.github.chuckerteam.chucker:library:3.5.2'
api 'io.github.esabook.chucker:library:4.0.0-SNAPSHOT'
annotationProcessor "com.google.auto.service:auto-service:1.0-rc7"
}

Expand Down

0 comments on commit ca30d25

Please sign in to comment.