stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

Bump detekt-gradle-plugin from 1.20.0 to 1.21.0

Open dependabot[bot] opened this issue 1 year ago • 1 comments

Bumps detekt-gradle-plugin from 1.20.0 to 1.21.0.

Release notes

Sourced from detekt-gradle-plugin's releases.

v1.21.0

We're delighted to announce the next upcoming stable release of Detekt: 1.21.0 🎉 This release is coming with 6 new rules, new API and functionalities and several stability improvements.

We want to thank you very much our Sponsors for the support in those last months. The work behind Detekt is all happening on a voluntary basis, and we're more than grateful for all the support we get from the Open Source Ecosystem.

We're also excited to announce that we're now having an Open Source Gradle Enterprise instance. When building the Detekt projects, you'll benefit from the Gradle Remote Cache that this instance is providing!

Finally, we want to take the opportunity to thank our contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).

Notable Changes

  • We enabled ~30 new rules by default which we believe are now stable enough. - #4875
  • We added 6 new Rules to Detekt
    • NullableBooleanCheck - #4872
    • CouldBeSequence - #4855
    • UnnecessaryBackticks - #4764
    • ForbiddenSuppress - #4899
    • MaxChainedCallsOnSameLine - #4985
    • CascadingCallWrapping - #4979
  • We added support for Markdown reports - #4858
  • We now allow users and rule authors to specify a reason for every value in the config file - #4611
  • We now report as warnings the Strings in the config file that can be converted to be an array - #4793
  • We added a dependency on ConTester to help us verify concurrency scenarios for Detekt - #4672
  • For contributors: we restructured our build setup to be use Gradle composite build - #4751

Migration

We fixed a bug related to function with KDocs and how their location in the source code was calculated (see #4961 and #4887).

Because of this, some users might have to recreate their baseline as the location of such functions are not matched anymore against the baseline. You can do so by deleting your old baseline and invoking the detektBaseline task (or the corresponding task, based on your configuration).

Changelog

  • ReturnCount: Make configuration parameter more explicit - #5062
  • Remove redundant null check - #5061
  • Drop redundant Gradle workaround - #5057
  • Update ktlint links from website to readme - #5056
  • Improve extensions.doc format with admonitions - #5055
  • Update docusaurus monorepo to v2.0.0-beta.22 - #5050
  • Enable strict Kotlin DSL precompiled script plugins accessors generation - #5048
  • MaxChainedCallsOnSameLine: don't count package references as chained calls - #5036
  • Xml Report Merger now merges duplicate smells across input report files - #5033
  • Add ending line and column to Location.kt - #5032
  • Fix type resolution link in Contributing.md - #5027
  • #5014 Fix MaxChainedCallsOnSameLine false positives - #5020
  • Add endColumn/endLine to SARIF region - #5011
  • Removed UnnecessaryAbstractClass if it inherits from a abstract class - #5009
  • Only recommend using index accessors for Java classes that are known collections - #4994

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jul 18 '22 05:07 dependabot[bot]

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: none)
NEW: paymentsheet-example-release-pr.apk (signature: none)

          │          compressed          │         uncompressed         
          ├──────────┬──────────┬────────┼───────────┬───────────┬──────
 APK      │ old      │ new      │ diff   │ old       │ new       │ diff 
──────────┼──────────┼──────────┼────────┼───────────┼───────────┼──────
      dex │ 15.8 MiB │ 15.8 MiB │ +123 B │  53.4 MiB │  53.4 MiB │ -4 B 
     arsc │  1.8 MiB │  1.8 MiB │    0 B │   1.8 MiB │   1.8 MiB │  0 B 
 manifest │  4.1 KiB │  4.1 KiB │    0 B │  18.9 KiB │  18.9 KiB │  0 B 
      res │    1 MiB │    1 MiB │    0 B │   1.8 MiB │   1.8 MiB │  0 B 
   native │  2.5 MiB │  2.5 MiB │    0 B │   5.9 MiB │   5.9 MiB │  0 B 
    asset │    3 MiB │    3 MiB │   +6 B │     3 MiB │     3 MiB │ +6 B 
    other │ 81.8 KiB │ 81.8 KiB │    0 B │ 155.7 KiB │ 155.7 KiB │  0 B 
──────────┼──────────┼──────────┼────────┼───────────┼───────────┼──────
    total │ 24.2 MiB │ 24.2 MiB │ +129 B │    66 MiB │    66 MiB │ +2 B 

         │          raw           │           unique            
         ├────────┬────────┬──────┼────────┬────────┬───────────
 DEX     │ old    │ new    │ diff │ old    │ new    │ diff      
─────────┼────────┼────────┼──────┼────────┼────────┼───────────
   files │      4 │      4 │    0 │        │        │           
 strings │ 256016 │ 256016 │    0 │ 219021 │ 219021 │ 0 (+4 -4) 
   types │  45045 │  45045 │    0 │  41434 │  41434 │ 0 (+0 -0) 
 classes │  38617 │  38617 │    0 │  38617 │  38617 │ 0 (+0 -0) 
 methods │ 224931 │ 224931 │    0 │ 217185 │ 217185 │ 0 (+0 -0) 
  fields │ 164349 │ 164349 │    0 │ 163394 │ 163394 │ 0 (+0 -0) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  334 │  334 │  0   
 entries │ 6242 │ 6242 │  0
APK
    compressed    │  uncompressed   │                                
─────────┬────────┼──────────┬──────┤                                
 size    │ diff   │ size     │ diff │ path                           
─────────┼────────┼──────────┼──────┼────────────────────────────────
 3.2 MiB │ +177 B │  9.1 MiB │ +4 B │ ∆ classes4.dex                 
 2.4 MiB │  -54 B │  7.4 MiB │ -8 B │ ∆ classes3.dex                 
   667 B │   +5 B │    535 B │ +5 B │ ∆ assets/dexopt/baseline.profm 
 9.7 KiB │   +1 B │  9.6 KiB │ +1 B │ ∆ assets/dexopt/baseline.prof  
─────────┼────────┼──────────┼──────┼────────────────────────────────
 5.7 MiB │ +129 B │ 16.5 MiB │ +2 B │ (total)
DEX
STRINGS:

   old    │ new    │ diff      
  ────────┼────────┼───────────
   219021 │ 219021 │ 0 (+4 -4) 
  + SMAP
  SourceParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_Companion
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,1160:1
  2972#2,5:1161
  1549#2:1166
  1620#2,3:1167
  *S KotlinDebug
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_Companion
  *L
  444#1:1161,5
  446#1:1166
  446#1:1167,3
  *E
  
  + SMAP
  SourceParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_TypeData
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  + 3 fake.kt
  kotlin/jvm/internal/FakeKt
  *L
  1#1,1160:1
  1785#2,2:1161
  1787#2:1164
  1#3:1163
  *S KotlinDebug
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_TypeData
  *L
  945#1:1161,2
  945#1:1164
  *E
  
  + SMAP
  StripeJsonUtils.kt
  Kotlin
  *S Kotlin
  *F
  + 1 StripeJsonUtils.kt
  com/stripe/android/core/model/StripeJsonUtils
  + 2 fake.kt
  kotlin/jvm/internal/FakeKt
  + 3 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,329:1
  1#2:330
  1#2:345
  1#2:365
  1#2:385
  1549#3:331
  1620#3,3:332
  1603#3,9:335
  1851#3:344
  1852#3:346
  1612#3:347
  1785#3,3:348
  1549#3:351
  1620#3,3:352
  1603#3,9:355
  1851#3:364
  1852#3:366
  1612#3:367
  1785#3,3:368
  1549#3:371
  1620#3,3:372
  1603#3,9:375
  1851#3:384
  1852#3:386
  1612#3:387
  1851#3,2:388
  *S KotlinDebug
  *F
  + 1 StripeJsonUtils.kt
  com/stripe/android/core/model/StripeJsonUtils
  *L
  174#1:345
  209#1:365
  234#1:385
  173#1:331
  173#1:332,3
  174#1:335,9
  174#1:344
  174#1:346
  174#1:347
  190#1:348,3
  208#1:351
  208#1:352,3
  209#1:355,9
  209#1:364
  209#1:366
  209#1:367
  217#1:368,3
  233#1:371
  233#1:372,3
  234#1:375,9
  234#1:384
  234#1:386
  234#1:387
  302#1:388,2
  *E
  
  + SMAP
  ShippingInfoWidget.kt
  Kotlin
  *S Kotlin
  *F
  + 1 ShippingInfoWidget.kt
  com/stripe/android/view/ShippingInfoWidget
  + 2 fake.kt
  kotlin/jvm/internal/FakeKt
  *L
  1#1,442:1
  1#2:443
  *E
  
  
  - SMAP
  SourceParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_Companion
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,1159:1
  2972#2,5:1160
  1549#2:1165
  1620#2,3:1166
  *S KotlinDebug
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_Companion
  *L
  443#1:1160,5
  445#1:1165
  445#1:1166,3
  *E
  
  - SMAP
  SourceParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_TypeData
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  + 3 fake.kt
  kotlin/jvm/internal/FakeKt
  *L
  1#1,1159:1
  1785#2,2:1160
  1787#2:1163
  1#3:1162
  *S KotlinDebug
  *F
  + 1 SourceParams.kt
  com/stripe/android/model/SourceParams_TypeData
  *L
  944#1:1160,2
  944#1:1163
  *E
  
  - SMAP
  StripeJsonUtils.kt
  Kotlin
  *S Kotlin
  *F
  + 1 StripeJsonUtils.kt
  com/stripe/android/core/model/StripeJsonUtils
  + 2 fake.kt
  kotlin/jvm/internal/FakeKt
  + 3 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,328:1
  1#2:329
  1#2:344
  1#2:364
  1#2:384
  1549#3:330
  1620#3,3:331
  1603#3,9:334
  1851#3:343
  1852#3:345
  1612#3:346
  1785#3,3:347
  1549#3:350
  1620#3,3:351
  1603#3,9:354
  1851#3:363
  1852#3:365
  1612#3:366
  1785#3,3:367
  1549#3:370
  1620#3,3:371
  1603#3,9:374
  1851#3:383
  1852#3:385
  1612#3:386
  1851#3,2:387
  *S KotlinDebug
  *F
  + 1 StripeJsonUtils.kt
  com/stripe/android/core/model/StripeJsonUtils
  *L
  174#1:344
  209#1:364
  234#1:384
  173#1:330
  173#1:331,3
  174#1:334,9
  174#1:343
  174#1:345
  174#1:346
  190#1:347,3
  208#1:350
  208#1:351,3
  209#1:354,9
  209#1:363
  209#1:365
  209#1:366
  217#1:367,3
  233#1:370
  233#1:371,3
  234#1:374,9
  234#1:383
  234#1:385
  234#1:386
  301#1:387,2
  *E
  
  - SMAP
  ShippingInfoWidget.kt
  Kotlin
  *S Kotlin
  *F
  + 1 ShippingInfoWidget.kt
  com/stripe/android/view/ShippingInfoWidget
  + 2 fake.kt
  kotlin/jvm/internal/FakeKt
  *L
  1#1,441:1
  1#2:442
  *E

github-actions[bot] avatar Jul 18 '22 12:07 github-actions[bot]

@dependabot rebase

brnunes-stripe avatar Aug 18 '22 00:08 brnunes-stripe

@dependabot rebase

brnunes-stripe avatar Sep 09 '22 21:09 brnunes-stripe