Skip to content

Commit

Permalink
make detekt work
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianLxM committed Mar 1, 2021
1 parent 9a6a812 commit 3ebcc1c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
root = true


[*{kt,kts}]
disabled_rules=no-wildcard-imports
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ buildscript {
}
}
maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'

Expand All @@ -59,7 +60,7 @@ buildscript {
}

plugins {
id "io.gitlab.arturbosch.detekt" version "1.15.0-RC2"
id "io.gitlab.arturbosch.detekt" version "1.16.0-RC2"
id "org.jlleitschuh.gradle.ktlint" version "9.4.1"
}

Expand All @@ -83,6 +84,8 @@ allprojects {
includeModule("org.jetbrains.trove4j", "trove4j")
}
}
maven { url "https://dl.bintray.com/kotlin/kotlinx" }

}
//Support @JvmDefault
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip

0 comments on commit 3ebcc1c

Please sign in to comment.