Skip to content

Commit

Permalink
Bump Kotlin to 1.4 and coroutines to 1.3.9
Browse files Browse the repository at this point in the history
Plus bumping detekt and ktlint
  • Loading branch information
Fred Porciúncula committed Aug 30, 2020
1 parent eb97619 commit 16bb2f7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ console-reports:
# - 'FindingsReport'
- 'FileBasedFindingsReport'

output-reports:
active: true
exclude:
# - 'TxtOutputReport'
# - 'XmlOutputReport'
# - 'HtmlOutputReport'

comments:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
Expand Down Expand Up @@ -186,6 +193,7 @@ exceptions:
active: false
ThrowingExceptionsWithoutMessageOrCause:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
exceptions:
- IllegalArgumentException
- IllegalStateException
Expand Down Expand Up @@ -383,6 +391,9 @@ naming:
MemberNameEqualsClassName:
active: true
ignoreOverridden: true
NonBooleanPropertyPrefixedWithIs:
active: false
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
ObjectPropertyNaming:
active: true
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
Expand Down Expand Up @@ -466,6 +477,8 @@ potential-bugs:
active: false
MissingWhenCase:
active: true
NullableToStringCall:
active: false
RedundantElseInWhen:
active: true
UnconditionalJumpStatementInLoop:
Expand Down Expand Up @@ -530,6 +543,8 @@ style:
excludeAnnotatedFunction: ['dagger.Provides']
LibraryCodeMustSpecifyReturnType:
active: true
LibraryEntitiesShouldNotBePublic:
active: false
LoopWithTooManyJumpStatements:
active: true
maxJumpCount: 1
Expand Down Expand Up @@ -625,16 +640,22 @@ style:
allowedNames: '(_|ignored|expected|serialVersionUID)'
UseArrayLiteralsInAnnotations:
active: false
UseCheckNotNull:
active: false
UseCheckOrError:
active: false
UseDataClass:
active: false
excludeAnnotatedClasses: []
allowVars: false
UseEmptyCounterpart:
active: false
UseIfInsteadOfWhen:
active: false
UseRequire:
active: false
UseRequireNotNull:
active: false
UselessCallOnNotNull:
active: true
UtilityClassWithPublicConstructor:
Expand Down
8 changes: 4 additions & 4 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ ext.versions = [
'junitKtx': '1.1.2',
],
],
'coroutines': '1.3.8',
'detekt' : '1.10.0',
'kotlin' : '1.3.72',
'kotlinter' : '2.3.2',
'coroutines': '1.3.9',
'detekt' : '1.12.0',
'kotlin' : '1.4.0',
'kotlinter' : '3.0.2',
'truth' : '1.0.1',
]

Expand Down

0 comments on commit 16bb2f7

Please sign in to comment.