Skip to content

Commit a6ed2d4

Browse files
vbuberenMiSikoracortinicotechnoir42hitanshu-dhawan
authored
Release 3.2.0 (#304)
* Remove scroll flags (#210) * Fix/gradle properties (#211) * Allow Gradle parallel build * Fix version name * Fix for curl command (#214) * Fix R8 minification crash on TransactionViewModel creation. (#219) * Big resources renaming (#216) * Fix clear action crash when application is dead (#222) * Fix for crash on Save transaction action (#221) * Show warning is transaction is null, fix crash in Save action * Uncomment sample transactions * Replace mulptiple returning with multiple throw due to detekt issue * Add message into IOException, update string for request being not ready * Fix for NPE in NotificationHelper (#223) * Add additional check fo transaction being not null before getting its notificationText * Extract transaction item from transactionBuffer * ViewModel refactoring (#220) * Update ViewModel dependency, refactor TransactionViewModel * Dependencies clean up * Switch to ViewModel on the main screen * Fix depleting bytes from the response. (#226) * Use HttpUrl instead of Uri for parsing URL data. * Do not read image sources directly from the response. * Simplify gzip logic. * Move gzip checks from IoUtils to OkHttpUtils. * Remove unused 'Response.hasBody()' extension. * Update library/src/main/java/com/chuckerteam/chucker/internal/support/OkHttpUtils.kt * Revert resource renaming (#227) * Revert renaming * Add changelgos for 3.1.2 (#230) * Add missing section to release 3.1.1 and 3.1.2 (#232) * Update Github templates (#235) * Update templates * Remove redundant dot * Remove default `no` from the checkbox * Switch to platform defined HTTP code constants (#238) * Add instruction for checkbox selection (#237) * Fix HttpHeader serialization when obfuscation is enabled (#240) * Update README (#243) * Add Action to validate the Gradle Wrapper (#245) * Gradle to 6.2 (#247) * Do not refresh transaction when it is not being affected. (#246) * Do not refresh transaction when it is not being affected. * Use correct null-aware comparison for HttpTransaction. * Add switching between encoded and decoded URL formats. (#233) * Add switching between encoded and decoded URL formats. * Make URL encoding transaction specific. * Change test name for upcoming #244 PR. * Use LiveDataRecord for combineLatest tests. * Properly switch encoding and decoding URL. * Show encoding icon only when it is viable. * Add encoded URL samples to HttpBinClient. * Avoid using 'this' scoping mechanism for URL. * Fix typo in feature request comment (#251) * RTL Support (#208) * Remove ltr forcing and replace ScrollView in Overview * Replace Overview layout, add rtl support for it * Add textDirection and textAlignment property for API 21+ * Fix host textview constraints * Replace android:src with app:srcCompat * Update ids for layouts to avoid clashes * Update Material components to stable * Remove supportsRTL tag from Manifest, update Gradle plugin * Styles update * Remove supportsRTL from library manifest * Revert usage of supportVectorDrawables to avoid crashes on APIs 16-19 due to notifications icons * Fix lint issue with vector drawable * Response search fixes (#256) * Fix response search to be case insensitive * Add minimum required symbols * Fix invalid options menu in response fragment * Feature/tls info (#252) * Add UI for TLS info * Implement logic for retrieving TLS info * Address code review feedback * Switch views to ViewBinding (#253) * Switch to ViewBinding in activities * Switch to ViewBinding in ErrorsAdapter, add formattedDate field into Throwable models * Transaction adapter switch to ViewBinding * Remove variable for formatted date from models * Switch to ViewBinding in TransactionPayloadAdapter * Switch to ViewBinding in TransactionPaayload and TransactionOverviewFragments * Switch list fragments to ViewBinding * Fix link for tutorial opening * Rename views * Address code review feedback * Hide SSL field if isSSL is null * Libs update (#260) * Update tools versions * JUnit update * Feature/truth (#258) * Add Truth, update part of test classes * Convert other tests to use Truth, fix date parser test * Add Truth assertions to FormatUtilsTest, fix ktlint issue * Update assertions to a proper syntax * Add missing ThrowableViewModel (#257) * Add Error ViewModel, update title in TransactionActivity in onCreate * Switch from errors to throwable naming to have a uniform naming style * Rename toolbar title * Migrating from Travis to GH Actions (#262) * Setup GH Actions * Run only on Linux * Remove Travis File * Run only gradlew directly * Update targetSDK and Kotlin (#264) * Add stale builds canceller (#265) * Add filters * Update Gradle wrapper validation workflow * Update pre-merge workflow * Fixed various Lints (#268) * fixed typos * fixed KDocs * Replace Travis badge with GH Actions badge (#269) * Remove redundant JvmName (#274) * Fix margins and paddings for payload items (#277) * Add selective interception. (#279) * Add selective interception. * Update README.md. * Align formatting in README with other points. * Avoid header name duplication. * Strip interception header also in the no-op library. * UX improvements (#275) * Add icon for non-https transactions * Update secondary color to be more contrast * Simplify protocol resources setting * Add tests to format utils (#281) * add tests to format utils * fixes after code review * formatting fix Co-authored-by: adammasyk <[email protected]> * format utils test refactor (#285) * format utils test refactor * share text test refactor * Migrate to Kotlin Coroutines (#270) * Add coroutine as a dependency in build.gradle * Migrate AsyncTasks to kotlin coroutines * Migrate executors with the coroutines in repositories * Multi cast upstream response for Chucker consumption. (#267) * Multi cast response upstream for Chucker consumption. * Read buffer prefix before potentially gunzipping it. * Inform Chucker about unprocessed responses. * Simplify multi casting logic. * Move read offset to a variable. * Inline one-line method. * Give better control over TeeSource read results. * Add documentation to TeeSource. * Close side channel when capacity is exceeded. Co-authored-by: Volodymyr Buberenko <[email protected]> * Remove unnecessary mock method. (#289) * removed redundant Gson configurations (#290) * increased test coverage for format utils (#291) Co-authored-by: Karthik R <[email protected]> * added few test cases for json formatting (#295) * Properly handle unexhausted network responses (#288) * Handle properly not consumed upstream body. * Handle IO issues while reading from file. * Update dependencies (#296) * Update depencies * Update OkHttp to 3.12.10 * Handle empty and missing response bodies. (#250) * Add failing test cases. * Remove unused const. * Gzip response body if it was gunzipped. * Add test cases for regular bodies in Chucker. * Fix rule formatting. * Use proper name for application interceptor. * Return original response downstream. * Account for no content with gzip encoding. * Use Truth for Chucker tests. * Honor empty plaintext bodies. * Revert changes to HttpBinClient. * Update library/src/test/java/com/chuckerteam/chucker/ChuckerInterceptorDelegate.kt * Update library/src/main/java/com/chuckerteam/chucker/internal/support/OkHttpUtils.kt Co-authored-by: Nicola Corti <[email protected]> Co-authored-by: Volodymyr Buberenko <[email protected]> * Add hasFixed size to RecyclerViews (#297) * Detekt to 1.7.4 (#299) * Revert "Add selective interception. (#279)" (#300) This reverts commit d14ed64. * Prepare 3.2.0 (#298) * Update versions info * Update Changelog * Fix links and update date Co-authored-by: Michał Sikora <[email protected]> Co-authored-by: Nicola Corti <[email protected]> Co-authored-by: Sergey Chelombitko <[email protected]> Co-authored-by: Michał Sikora <[email protected]> Co-authored-by: Hitanshu Dhawan <[email protected]> Co-authored-by: adammasyk <[email protected]> Co-authored-by: adammasyk <[email protected]> Co-authored-by: Nikhil Chaudhari <[email protected]> Co-authored-by: karthik rk <[email protected]> Co-authored-by: Karthik R <[email protected]>
1 parent fd7893d commit a6ed2d4

File tree

99 files changed

+2769
-1119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2769
-1119
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ about: Create a report to help us improve
44

55
---
66

7-
## :loudspeaker: Describe the bug
8-
*A clear and concise description of what the bug is.*
7+
## :writing_hand: Describe the bug
8+
<!-- A clear and concise description of what the bug is. -->
99

10-
## :bomb: To Reproduce
11-
*Steps to reproduce the behavior:*
10+
## :bomb: Steps to reproduce
11+
<!-- How we can reproduce the behavior: -->
1212
1. Go to '...'
1313
2. Click on '....'
1414
3. Scroll down to '....'
1515
4. See error
1616

17-
### :wrench: Expected behavior
18-
*A clear and concise description of what you expected to happen.*
17+
## :wrench: Expected behavior
18+
<!-- A clear and concise description of what you expected to happen. -->
1919

2020
## :camera: Screenshots
21-
*If applicable, add screenshots to help explain your problem.*
21+
<!-- If applicable, add screenshots to help explain your problem. -->
2222

23-
## :iphone: Smartphone
24-
- Device: *e.g. Nexus 6P*
25-
- OS: *e.g. 7.1.1*
26-
- Lib version: *e.g. 2.0.2*
23+
## :iphone: Tech info
24+
- Device: <!-- e.g. Nexus 6P -->
25+
- OS: <!-- e.g. 7.1.1 -->
26+
- Chucker version: <!-- e.g. 3.1.2 -->
2727

2828
## :page_facing_up: Additional context
29-
*Add any other context about the problem here.*
29+
<!-- Add any other context about the problem here. -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ about: Suggest an idea for this project
44

55
---
66

7-
## :warning: Is your feature request related to a problem? Please describe.
8-
*A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]*
7+
## :warning: Is your feature request related to a problem? Please describe
8+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
99

10-
## :dart: Describe the solution you'd like
11-
*A clear and concise description of what you want to happen.*
10+
## :bulb: Describe the solution you'd like
11+
<!-- A clear and concise description of what you want to happen. -->
1212

1313
## :bar_chart: Describe alternatives you've considered
14-
*A clear and concise description of any alternative solutions or features you've considered.*
14+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
1515

1616
## :page_facing_up: Additional context
17-
*Add any other context or screenshots about the feature request here.*
17+
<!-- Add any other context or screenshots about the feature request here. -->
1818

19-
## :pencil: Do you want to develop this feature yourself?
19+
## :raising_hand: Do you want to develop this feature yourself?
20+
<!-- Put an `x` symbol into braces of desired choice. -->
2021
- [ ] Yes
21-
- [X] No
22+
- [ ] No

.github/PULL_REQUEST_TEMPLATE

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
## :camera: Screenshots
2-
*Show us what you've changed, we love images.*
2+
<!-- Show us what you've changed, we love images. -->
33

44
## :page_facing_up: Context
5-
*Why did you change something? Is there an [issue](https://github.com/ChuckerTeam/chucker/issues) to link here? Or an extarnal link?*
5+
<!-- Why did you change something? Is there an [issue](https://github.com/ChuckerTeam/chucker/issues) to link here? Or an external link? -->
66

77
## :pencil: Changes
8-
*Which code did you change? How?*
8+
<!-- Which code did you change? How? -->
99

1010
## :paperclip: Related PR
11-
*PR that blocks this one, or the ones blocked by this PR*
11+
<!-- PR that blocks this one, or the ones blocked by this PR -->
1212

13-
## :warning: Breaking
14-
*Is there something breaking in the API? Any class or method signature changed?*
13+
## :no_entry_sign: Breaking
14+
<!-- Is there something breaking the API? Any class or method signature changed? -->
1515

16-
## :pencil: How to test
17-
*Is there a special case to test your changes?*
16+
## :hammer_and_wrench: How to test
17+
<!-- Is there a special case to test your changes? -->
1818

19-
## :crystal_ball: Next steps
20-
*Do we have to plan something else after the merge?*
19+
## :stopwatch: Next steps
20+
<!-- Do we have to plan something else after the merge? -->
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Validate Gradle Wrapper
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
- release
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
validation:
13+
name: Validation
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout latest code
17+
uses: actions/checkout@v2
18+
- name: Validate Gradle Wrapper
19+
uses: gradle/wrapper-validation-action@v1
20+

.github/workflows/pre-merge.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Pre Merge Checks
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
- release
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
gradle:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v2
17+
- name: Run Gradle tasks
18+
run: ./gradlew clean ktlintCheck lint detekt build test

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Change Log
22

3+
## Version 3.2.0 *(2020-04-04)*
4+
5+
This is a new minor release with numerous internal changes.
6+
7+
### Summary of changes
8+
9+
* Chucker won't load the whole response into memory anymore, but will mutlicast it with the help of temporary files. It allows to avoid issues with OOM, like in reported in [#218].
10+
This change also allows to avoid problems with Chucker consuming responses, like reported in [#242].
11+
* Added a red open padlock icon to clearly indicate HTTP requests in transactions list.
12+
* Added TLS info (version and cipher suite) into `Overview` tab.
13+
* Added ability to encode/decode URLs.
14+
* Added RTL support.
15+
* Switched from AsyncTasks to Kotlin coroutines.
16+
* Switched to [ViewBinding](https://developer.android.com/topic/libraries/view-binding).
17+
* Bumped targetSDK to 29.
18+
* Greatly increased test coverage (we will add exact numbers and reports pretty soon).
19+
20+
### Bugfixes
21+
22+
* Fix for [#218] with OOM exceptions on big responses.
23+
* Fix for [#242] with Chucker throwing exceptions when used as `networkInterceptor()`.
24+
* Fix for [#240] with HttpHeader serialisation exceptions when obfuscation is used.
25+
* Fix for [#254] with response body search being case-sensitive.
26+
* Fix for [#255] with missing search icon on Response tab.
27+
* Fix for [#241] with overlapping texts.
28+
29+
### Dependency updates
30+
31+
* Added kotlinx-coroutines-core 1.3.5
32+
* Added kotlinx-coroutines-android 1.3.5
33+
* Updated Kotlin to 1.3.71
34+
* Updated Android Gradle plugin to 3.6.1
35+
* Updated Room to 2.2.5
36+
* Updated OkHttp to 3.12.10
37+
* Updated Detekt to 1.7.3
38+
* Updated Dokka to 0.10.1
39+
* Updated KtLint plugin to 9.2.1
40+
* Updated MaterialComponents to 1.1.0
41+
* Updated Gradle to 6.3
42+
43+
### Credits
44+
45+
This release was possible thanks to the contribution of:
46+
47+
@adammasyk
48+
@cortinico
49+
@CuriousNikhil
50+
@hitanshu-dhawan
51+
@MiSikora
52+
@technoir42
53+
@vbuberen
54+
355
## Version 3.1.2 *(2020-02-09)*
456

557
This is hot-fix release to fix multiple issues introduced in `3.1.0`.
@@ -16,6 +68,13 @@ This is hot-fix release to fix multiple issues introduced in `3.1.0`.
1668
* Fixed an [issue](https://github.com/ChuckerTeam/chucker/pull/222) with crash when user taps Clear from notification shade while the original app is already dead.
1769
* Fixed an [issue](https://github.com/ChuckerTeam/chucker/pull/223) with possible NPEs.
1870

71+
### Credits
72+
73+
This release was possible thanks to the contribution of:
74+
75+
@MiSikora
76+
@vbuberen
77+
1978
## Version 3.1.1 *(2020-01-25)*
2079

2180
This is hot-fix release to fix issue introduced in `3.1.0`.
@@ -24,6 +83,12 @@ This is hot-fix release to fix issue introduced in `3.1.0`.
2483

2584
- Fixed an [issue](https://github.com/ChuckerTeam/chucker/issues/203) introduced in 3.1.0 where some of response bodies were shown as `null` and their sizes were 0 bytes.
2685

86+
### Credits
87+
88+
This release was possible thanks to the contribution of:
89+
90+
@cortinico
91+
2792
## Version 3.1.0 *(2020-01-24)*
2893

2994
### This version shouldn't be used as dependency due to [#203](https://github.com/ChuckerTeam/chucker/issues/203). Use 3.1.1 instead.
@@ -297,3 +362,9 @@ Initial release.
297362
[#196]: https://github.com/ChuckerTeam/chucker/pull/196
298363
[#198]: https://github.com/ChuckerTeam/chucker/pull/198
299364
[#201]: https://github.com/ChuckerTeam/chucker/pull/201
365+
[#218]: https://github.com/ChuckerTeam/chucker/issues/218
366+
[#242]: https://github.com/ChuckerTeam/chucker/issues/242
367+
[#240]: https://github.com/ChuckerTeam/chucker/pull/240
368+
[#254]: https://github.com/ChuckerTeam/chucker/issues/254
369+
[#255]: https://github.com/ChuckerTeam/chucker/issues/255
370+
[#241]: https://github.com/ChuckerTeam/chucker/issues/241

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Chucker
2-
[![JitPack](https://jitpack.io/v/ChuckerTeam/Chucker.svg)](https://jitpack.io/#ChuckerTeam/Chucker) [![Build Status](https://travis-ci.org/ChuckerTeam/chucker.svg?branch=master)](https://travis-ci.org/ChuckerTeam/chucker) ![License](https://img.shields.io/github/license/ChuckerTeam/Chucker.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](http://makeapullrequest.com) [![Join the chat at https://kotlinlang.slack.com](https://img.shields.io/badge/slack-@kotlinlang/chucker-yellow.svg?logo=slack)](https://kotlinlang.slack.com/archives/CRWD6370R) [![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23375-blue.svg)](https://androidweekly.net/issues/issue-375)
2+
[![JitPack](https://jitpack.io/v/ChuckerTeam/Chucker.svg)](https://jitpack.io/#ChuckerTeam/Chucker) ![Pre Merge Checks](https://github.com/ChuckerTeam/chucker/workflows/Pre%20Merge%20Checks/badge.svg?branch=develop) ![License](https://img.shields.io/github/license/ChuckerTeam/Chucker.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](http://makeapullrequest.com) [![Join the chat at https://kotlinlang.slack.com](https://img.shields.io/badge/slack-@kotlinlang/chucker-yellow.svg?logo=slack)](https://kotlinlang.slack.com/archives/CRWD6370R) [![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23375-blue.svg)](https://androidweekly.net/issues/issue-375)
33

44
_A fork of [Chuck](https://github.com/jgilfelt/chuck)_
55

@@ -20,7 +20,7 @@ _A fork of [Chuck](https://github.com/jgilfelt/chuck)_
2020
* [Acknowledgments](#acknowledgments-)
2121
* [License](#license-)
2222

23-
Chucker simplifies the inspection of **HTTP(S) requests/responses**, and **Throwables** fired by your Android App. Chucker works as a **OkHttp Interceptor** persisting all those events inside your application, and providing a UI for inspecting and sharing their content.
23+
Chucker simplifies the inspection of **HTTP(S) requests/responses**, and **Throwables** fired by your Android App. Chucker works as an **OkHttp Interceptor** persisting all those events inside your application, and providing a UI for inspecting and sharing their content.
2424

2525
Apps using Chucker will display a **push notification** showing a summary of ongoing HTTP activity and Throwables. Tapping on the notification launches the full Chucker UI. Apps can optionally suppress the notification, and launch the Chucker UI directly from within their own interface.
2626

@@ -42,8 +42,8 @@ repositories {
4242

4343
```groovy
4444
dependencies {
45-
debugImplementation "com.github.ChuckerTeam.Chucker:library:3.1.2"
46-
releaseImplementation "com.github.ChuckerTeam.Chucker:library-no-op:3.1.2"
45+
debugImplementation "com.github.ChuckerTeam.Chucker:library:3.2.0"
46+
releaseImplementation "com.github.ChuckerTeam.Chucker:library-no-op:3.2.0"
4747
}
4848
```
4949

@@ -119,7 +119,7 @@ try {
119119

120120
### Redact-Header 👮‍♂️
121121

122-
**Warning** The data generated and stored when using Chucker may contain sensitive information such as Authorization or Cookie headers, and the contents of request and response bodies.
122+
**Warning** The data generated and stored when using Chucker may contain sensitive information such as Authorization or Cookie headers, and the contents of request and response bodies.
123123

124124
It is intended for **use during development**, and not in release builds or other production deployments.
125125

@@ -163,13 +163,13 @@ If you're looking for the **latest stable version**, you can always find it on t
163163
* Why are retries and redirects not being captured discretely?
164164
* Why are my encoded request/response bodies not appearing as plain text?
165165

166-
Please refer to [this section of the OkHttp wiki](https://github.com/square/okhttp/wiki/Interceptors#choosing-between-application-and-network-interceptors). You can choose to use Chucker as either an application or network interceptor, depending on your requirements.
166+
Please refer to [this section of the OkHttp documentation](https://square.github.io/okhttp/interceptors/). You can choose to use Chucker as either an application or network interceptor, depending on your requirements.
167167

168168
## Contributing 🤝
169169

170-
We're offering support for Chucker on the [#chucker](https://kotlinlang.slack.com/archives/CRWD6370R) channel on [kotlinlang.slack.com](https://kotlinlang.slack.com/). Come and joing the conversation over there.
170+
We're offering support for Chucker on the [#chucker](https://kotlinlang.slack.com/archives/CRWD6370R) channel on [kotlinlang.slack.com](https://kotlinlang.slack.com/). Come and join the conversation over there.
171171

172-
**We're looking for contributors! Don't be shy.** 😁 Feel free to open issues/pull requests to help me improve this project.
172+
**We're looking for contributors! Don't be shy.** 😁 Feel free to open issues/pull requests to help us improve this project.
173173

174174
* When reporting a new Issue, make sure to attach **Screenshots**, **Videos** or **GIFs** of the problem you are reporting.
175175
* When submitting a new PR, make sure tests are all green. Write new tests if necessary.

build.gradle

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
11
buildscript {
22
ext {
3-
kotlinVersion = '1.3.61'
4-
androidGradleVersion = '3.5.3'
3+
kotlinVersion = '1.3.71'
4+
androidGradleVersion = '3.6.1'
5+
coroutineVersion = '1.3.5'
56

67
// Google libraries
78
appCompatVersion = '1.1.0'
89
constraintLayoutVersion = '1.1.3'
9-
materialComponentsVersion = '1.1.0-rc02'
10-
roomVersion = '2.2.3'
10+
materialComponentsVersion = '1.1.0'
11+
roomVersion = '2.2.5'
1112
lifecycleVersion = '2.2.0'
13+
androidXCoreVersion = '2.1.0'
1214

1315
// Publishing
1416
androidMavenGradleVersion = '2.1'
1517

1618
// Networking
1719
gsonVersion = '2.8.6'
18-
okhttp3Version = '3.12.6'
20+
okhttp3Version = '3.12.10'
1921
retrofitVersion = '2.6.4'
2022

2123
// Debug and quality control
22-
detektVersion = '1.4.0'
23-
dokkaVersion = '0.10.0'
24-
ktLintVersion = '9.1.1'
25-
leakcanaryVersion = '2.1'
24+
detektVersion = '1.7.4'
25+
dokkaVersion = '0.10.1'
26+
ktLintVersion = '0.36.0'
27+
ktLintGradleVersion = '9.2.1'
28+
leakcanaryVersion = '2.2'
2629

2730
// Testing
28-
junitGradlePluignVersion = '1.3.1.1'
29-
junitVersion = '5.4.2'
31+
junitGradlePluignVersion = '1.6.0.0'
32+
junitVersion = '5.6.0'
3033
mockkVersion = '1.9.3'
34+
truthVersion = '1.0.1'
3135
}
3236

3337
repositories {
@@ -43,7 +47,7 @@ buildscript {
4347
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
4448
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
4549
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
46-
classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktLintVersion"
50+
classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktLintGradleVersion"
4751
}
4852
}
4953

@@ -63,6 +67,6 @@ task clean(type: Delete) {
6367

6468
ext {
6569
minSdkVersion = 16
66-
targetSdkVersion = 28
67-
compileSdkVersion = 28
70+
targetSdkVersion = 29
71+
compileSdkVersion = 29
6872
}

gradle.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ org.gradle.jvmargs=-Xmx1536m
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
org.gradle.parallel=true
1818

19-
VERSION_NAME=3.1.2
20-
# 3*100*100 + 1*100 + 2 => 30102
21-
VERSION_CODE=30102
19+
android.useAndroidX=true
20+
21+
VERSION_NAME=3.2.0
22+
# 3*100*100 + 2*100 + 0 => 30200
23+
VERSION_CODE=30200
2224
GROUP=com.github.chuckerteam.chucker
2325

2426
POM_REPO_NAME=Chucker

0 commit comments

Comments
 (0)