aboutsummaryrefslogtreecommitdiff
path: root/buildSrc
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-08 18:17:46 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-08 18:59:57 +0200
commit4ba7ec9facb26c5ae0b0dd434e07c4af728f277a (patch)
tree3d7433407fdf5cfaa2b645e4c2488f3402c59b67 /buildSrc
parent4f9e180a1f9e9e0432bf1aed379c024736623d12 (diff)
downloaddokka-4ba7ec9facb26c5ae0b0dd434e07c4af728f277a.tar.gz
dokka-4ba7ec9facb26c5ae0b0dd434e07c4af728f277a.tar.bz2
dokka-4ba7ec9facb26c5ae0b0dd434e07c4af728f277a.zip
maven-integration-test: Fix style issues
Diffstat (limited to 'buildSrc')
-rw-r--r--buildSrc/src/main/kotlin/org/jetbrains/SetupMaven.kt1
-rw-r--r--buildSrc/src/main/kotlin/org/jetbrains/taskUtils.kt10
2 files changed, 5 insertions, 6 deletions
diff --git a/buildSrc/src/main/kotlin/org/jetbrains/SetupMaven.kt b/buildSrc/src/main/kotlin/org/jetbrains/SetupMaven.kt
index 519eea13..4ef26a73 100644
--- a/buildSrc/src/main/kotlin/org/jetbrains/SetupMaven.kt
+++ b/buildSrc/src/main/kotlin/org/jetbrains/SetupMaven.kt
@@ -1,6 +1,5 @@
package org.jetbrains
-import org.gradle.api.DefaultTask
import org.gradle.api.artifacts.Configuration
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Internal
diff --git a/buildSrc/src/main/kotlin/org/jetbrains/taskUtils.kt b/buildSrc/src/main/kotlin/org/jetbrains/taskUtils.kt
index b018ba13..ef9c5e6a 100644
--- a/buildSrc/src/main/kotlin/org/jetbrains/taskUtils.kt
+++ b/buildSrc/src/main/kotlin/org/jetbrains/taskUtils.kt
@@ -3,11 +3,11 @@ package org.jetbrains
import org.gradle.api.Task
fun Task.dependsOnMavenLocalPublication() {
- project.rootProject.allprojects.forEach { otherProject ->
- otherProject.invokeWhenEvaluated { evaluatedProject ->
- evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
- this.dependsOn(publishingTask)
- }
+ project.rootProject.allprojects.forEach { otherProject ->
+ otherProject.invokeWhenEvaluated { evaluatedProject ->
+ evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
+ this.dependsOn(publishingTask)
}
}
+ }
}