initial commit
This commit is contained in:
parent
85ef73b2ba
commit
90a9426b7d
221 changed files with 7611 additions and 0 deletions
63
build.gradle
Normal file
63
build.gradle
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
ext.kotlin_version = "1.4.32"
|
||||
ext.detekt_version = "1.16.0"
|
||||
repositories {
|
||||
google()
|
||||
maven { url "https://plugins.gradle.org/m2/" }
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:4.1.3"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
//apply plugin: "io.gitlab.arturbosch.detekt" version "$detekt_version"
|
||||
plugins {
|
||||
id "io.gitlab.arturbosch.detekt" version "$detekt_version"
|
||||
}
|
||||
detekt {
|
||||
toolVersion = "$detekt_version"
|
||||
|
||||
input = files(
|
||||
"$projectDir/app/src/main/java",
|
||||
"$projectDir/core/src/main/java",
|
||||
"$projectDir/mockserver/src/main/java",
|
||||
"$projectDir/model/src/main/java",
|
||||
"$projectDir/network/src/main/java"
|
||||
)
|
||||
config = files("$projectDir/detekt/detekt.yml")
|
||||
baseline = file("$projectDir/detekt/baseline.xml")
|
||||
reports {
|
||||
txt {
|
||||
enabled = true
|
||||
destination = file("build/reports/detekt.txt")
|
||||
}
|
||||
html {
|
||||
enabled = true
|
||||
destination = file("build/reports/detekt.html")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
apply from: 'gradlescripts/versions.gradle'
|
||||
Loading…
Add table
Add a link
Reference in a new issue