aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/projects')
-rw-r--r--integration-tests/gradle/projects/it-basic-groovy/build.gradle17
1 files changed, 17 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-basic-groovy/build.gradle b/integration-tests/gradle/projects/it-basic-groovy/build.gradle
index dc469bba..f368ed10 100644
--- a/integration-tests/gradle/projects/it-basic-groovy/build.gradle
+++ b/integration-tests/gradle/projects/it-basic-groovy/build.gradle
@@ -19,6 +19,23 @@ dokkaHtml {
displayName.set("custom")
reportUndocumented.set(true)
}
+
+ configureEach {
+ perPackageOption { // testing closures
+ matchingRegex.set(".*internal.*")
+ suppress.set(true)
+ }
+
+ sourceLink { // testing closures
+ localDirectory.set(file("src/main"))
+ remoteUrl.set(
+ new URL(
+ "https://github.com/Kotlin/dokka/tree/master/" +
+ "integration-tests/gradle/projects/it-basic-groovy/src/main"
+ )
+ )
+ }
+ }
}
}