Skip to content

Commit

Permalink
Fixes detekt inspection result
Browse files Browse the repository at this point in the history
  • Loading branch information
asm0dey committed Jan 12, 2021
1 parent 6023d99 commit f8fd73e
Show file tree
Hide file tree
Showing 12 changed files with 870 additions and 48 deletions.
9 changes: 9 additions & 0 deletions .idea/detekt.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 15 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ buildscript {
}

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.30-M1'
id 'org.jetbrains.kotlin.jvm' version '1.4.21'
id 'info.solidsoft.pitest' version '1.5.2'
id 'maven'
id "io.gitlab.arturbosch.detekt" version "1.14.1"
}

group 'com.github.asm0dey'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
jcenter()
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.fasterxml.woodstox:woodstox-core:6.2.3'
testImplementation "io.kotest:kotest-runner-junit5:$kotest_version"
testImplementation "ch.tutteli.atrium:atrium-infix-en_GB:$atrium_version"
Expand All @@ -45,3 +47,14 @@ pitest {
outputFormats = ['XML', 'HTML']
avoidCallsTo = ["kotlin.jvm.internal", "kotlinx.coroutines"]
}

detekt {
parallel = false
config = files "code_quality_tools/detekt.yml"
reports {
xml { enabled = true }
html { enabled = true }
}
}

tasks.detekt.jvmTarget = "1.8"
Loading

0 comments on commit f8fd73e

Please sign in to comment.