Miscellaneous build script changes (#289)

This commit is contained in:
Niels van Velzen 2021-07-08 23:03:33 +02:00 committed by GitHub
parent 4668b3d6ce
commit 8683810a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 17 deletions

3
android-lint.xml Normal file
View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<lint>
</lint>

View File

@ -69,7 +69,7 @@ subprojects {
detekt { detekt {
buildUponDefaultConfig = true buildUponDefaultConfig = true
ignoreFailures = true ignoreFailures = true
config = files("$rootDir/detekt.yml") config = files("$rootDir/detekt.yaml")
basePath = rootDir.absolutePath basePath = rootDir.absolutePath
reports { reports {

View File

@ -6,19 +6,19 @@ ktor = "1.6.0"
slf4j = "1.7.31" slf4j = "1.7.31"
[libraries] [libraries]
androidx-annotation = { group = "androidx.annotation", name = "annotation", version = "1.2.0" } androidx-annotation = { module = "androidx.annotation:annotation", version = "1.2.0" }
androidx-core = { group = "androidx.core", name = "core-ktx", version = "1.5.0" } androidx-core = { module = "androidx.core:core-ktx", version = "1.5.0" }
clikt = { group = "com.github.ajalt.clikt", name = "clikt", version = "3.2.0" } clikt = { module = "com.github.ajalt.clikt:clikt", version = "3.2.0" }
kasechange = { group = "net.pearx.kasechange", name = "kasechange", version = "1.3.0" } kasechange = { module = "net.pearx.kasechange:kasechange", version = "1.3.0" }
koin = { group = "io.insert-koin", name = "koin-core", version = "3.1.0" } koin = { module = "io.insert-koin:koin-core", version = "3.1.0" }
kotlin-test-junit = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", version.ref = "kotlin" } kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
kotlinPoet = { group = "com.squareup", name = "kotlinpoet", version = "1.8.0" } kotlinPoet = { module = "com.squareup:kotlinpoet", version = "1.8.0" }
kotlinx-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization" } kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
ktor-http = { group = "io.ktor", name = "ktor-http", version.ref = "ktor" } ktor-http = { module = "io.ktor:ktor-http", version.ref = "ktor" }
ktor-io = { group = "io.ktor", name = "ktor-io", version.ref = "ktor" } ktor-io = { module = "io.ktor:ktor-io", version.ref = "ktor" }
ktor-okhttp = { group = "io.ktor", name = "ktor-client-okhttp", version.ref = "ktor" } ktor-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
ktor-serialization = { group = "io.ktor", name = "ktor-client-serialization-jvm", version.ref = "ktor" } ktor-serialization = { module = "io.ktor:ktor-client-serialization-jvm", version.ref = "ktor" }
slf4j-api = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" } slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" } slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
swaggerParser = { group = "io.swagger.parser.v3", name = "swagger-parser", version = "2.0.26" } swaggerParser = { module = "io.swagger.parser.v3:swagger-parser", version = "2.0.26" }

View File

@ -30,6 +30,7 @@ android {
} }
lintOptions { lintOptions {
lintConfig = file("$rootDir/android-lint.xml")
isAbortOnError = false isAbortOnError = false
sarifReport = true sarifReport = true
} }