aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--integration-tests/build.gradle.kts2
-rw-r--r--integration-tests/cli/build.gradle.kts2
-rw-r--r--integration-tests/gradle/build.gradle.kts14
3 files changed, 9 insertions, 9 deletions
diff --git a/integration-tests/build.gradle.kts b/integration-tests/build.gradle.kts
index 44da74cf..70b6db26 100644
--- a/integration-tests/build.gradle.kts
+++ b/integration-tests/build.gradle.kts
@@ -18,7 +18,7 @@ subprojects {
implementation(project(":integration-tests"))
}
- val integrationTest = task<Test>("integrationTest") {
+ val integrationTest by tasks.register<Test>("integrationTest") {
maxHeapSize = "2G"
description = "Runs integration tests."
group = "verification"
diff --git a/integration-tests/cli/build.gradle.kts b/integration-tests/cli/build.gradle.kts
index c3e98d0a..f825a148 100644
--- a/integration-tests/cli/build.gradle.kts
+++ b/integration-tests/cli/build.gradle.kts
@@ -23,7 +23,7 @@ val basePluginShadow: Configuration by configurations.creating
dependencies {
basePluginShadow(project(":plugins:base"))
}
-val basePluginShadowJar = tasks.create("basePluginShadowJar", ShadowJar::class) {
+val basePluginShadowJar by tasks.register("basePluginShadowJar", ShadowJar::class) {
configurations = listOf(basePluginShadow)
archiveFileName.set("fat-base-plugin-$dokka_version.jar")
archiveClassifier.set("")
diff --git a/integration-tests/gradle/build.gradle.kts b/integration-tests/gradle/build.gradle.kts
index 2c526af7..28e20cf9 100644
--- a/integration-tests/gradle/build.gradle.kts
+++ b/integration-tests/gradle/build.gradle.kts
@@ -6,13 +6,13 @@ dependencies {
implementation(gradleTestKit())
}
-val integrationTest by tasks.integrationTest
-integrationTest.inputs.dir(file("projects"))
-
-rootProject.allprojects.forEach { otherProject ->
- otherProject.invokeWhenEvaluated { evaluatedProject ->
- evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
- integrationTest.dependsOn(publishingTask)
+tasks.integrationTest {
+ inputs.dir(file("projects"))
+ rootProject.allprojects.forEach { otherProject ->
+ otherProject.invokeWhenEvaluated { evaluatedProject ->
+ evaluatedProject.tasks.findByName("publishToMavenLocal")?.let { publishingTask ->
+ this.dependsOn(publishingTask)
+ }
}
}
}