Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -124,9 +124,11 @@ lintRelease: when: always script: - ./gradlew lintRelease - ./gradlew detekt artifacts: paths: - app/build/reports/ - build/reports/ ktlintRelease: extends: .lintReleaseDefault Loading build.gradle +23 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ plugins { id 'com.google.dagger.hilt.android' version '2.44' apply false id "org.jetbrains.kotlin.plugin.allopen" version "1.8.0" id 'androidx.navigation.safeargs' version '2.5.3' apply false id 'io.gitlab.arturbosch.detekt' version '1.23.1' } allprojects { Loading @@ -16,6 +17,27 @@ allprojects { } } subprojects { detekt { toolVersion = "1.23.1" source = files( "src/main/java" ) config.setFrom("detekt.yml") parallel = false buildUponDefaultConfig = true allRules = false disableDefaultRuleSets = false debug = false ignoreFailures = true basePath = projectDir } } task clean(type: Delete) { delete rootProject.buildDir } detekt.yml 0 → 100644 +6 −0 Original line number Diff line number Diff line naming: ConstructorParameterNaming: active: false VariableNaming: active: false Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -124,9 +124,11 @@ lintRelease: when: always script: - ./gradlew lintRelease - ./gradlew detekt artifacts: paths: - app/build/reports/ - build/reports/ ktlintRelease: extends: .lintReleaseDefault Loading
build.gradle +23 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ plugins { id 'com.google.dagger.hilt.android' version '2.44' apply false id "org.jetbrains.kotlin.plugin.allopen" version "1.8.0" id 'androidx.navigation.safeargs' version '2.5.3' apply false id 'io.gitlab.arturbosch.detekt' version '1.23.1' } allprojects { Loading @@ -16,6 +17,27 @@ allprojects { } } subprojects { detekt { toolVersion = "1.23.1" source = files( "src/main/java" ) config.setFrom("detekt.yml") parallel = false buildUponDefaultConfig = true allRules = false disableDefaultRuleSets = false debug = false ignoreFailures = true basePath = projectDir } } task clean(type: Delete) { delete rootProject.buildDir }
detekt.yml 0 → 100644 +6 −0 Original line number Diff line number Diff line naming: ConstructorParameterNaming: active: false VariableNaming: active: false