Skip to content

Commit

Permalink
Suppress false-positive inspections and add non-standard words to dic…
Browse files Browse the repository at this point in the history
…tionary
  • Loading branch information
ileasile committed May 4, 2020
1 parent 55c9d6c commit 58fb611
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .idea/dictionaries/Ilya_Muradyan.xml

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

4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import kotlin.Suppress
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

Expand Down Expand Up @@ -27,11 +28,13 @@ tasks {
}
}

@Suppress("UNUSED_VARIABLE")
val sourceJar by registering(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

@Suppress("UNUSED_VARIABLE")
val dokka by getting(DokkaTask::class) {
outputFormat = "html"
outputDirectory = "$buildDir/dokka"
Expand All @@ -43,6 +46,7 @@ tasks {
inputs.dir("src/main/kotlin")
}

@Suppress("UNUSED_VARIABLE")
val javadocJar by registering(Jar::class) {
group = "documentation"
dependsOn(dokkaJavadoc)
Expand Down
5 changes: 3 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ pluginManagement {

resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.jlleitschuh.gradle.ktlint") {
useModule("org.jlleitschuh.gradle:ktlint-gradle:$ktlintPluginVersion")
when (requested.id.id) {
"org.jlleitschuh.gradle.ktlint" ->
useModule("org.jlleitschuh.gradle:ktlint-gradle:$ktlintPluginVersion")
}
}
}
Expand Down

0 comments on commit 58fb611

Please sign in to comment.