aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-11-28 13:11:38 +0100
committerKamil Doległo <kamilok1965@interia.pl>2019-11-28 13:11:38 +0100
commite8eff3e7fd1b51722dca3bab82a59c1ec73e7d8d (patch)
treee413c9b5e036128c73192c6e975c0840858014d3 /runners/gradle-integration-tests
parente560fe38ec52fd6cb5426d0027a6f6b1dd771e16 (diff)
downloaddokka-e8eff3e7fd1b51722dca3bab82a59c1ec73e7d8d.tar.gz
dokka-e8eff3e7fd1b51722dca3bab82a59c1ec73e7d8d.tar.bz2
dokka-e8eff3e7fd1b51722dca3bab82a59c1ec73e7d8d.zip
Fix the tests
Diffstat (limited to 'runners/gradle-integration-tests')
-rw-r--r--runners/gradle-integration-tests/testData/typeSafeConfiguration/build.gradle9
1 files changed, 5 insertions, 4 deletions
diff --git a/runners/gradle-integration-tests/testData/typeSafeConfiguration/build.gradle b/runners/gradle-integration-tests/testData/typeSafeConfiguration/build.gradle
index 8688ae41..444d2ab3 100644
--- a/runners/gradle-integration-tests/testData/typeSafeConfiguration/build.gradle
+++ b/runners/gradle-integration-tests/testData/typeSafeConfiguration/build.gradle
@@ -52,11 +52,12 @@ def configureDokkaTypeSafely(DokkaTask dokka) {
sourceRoot.path = "some String"
}
})
- externalDocumentationLink(new Action<GradleExternalDocumentationLinkImpl>() {
+ externalDocumentationLink(new Action<GradleExternalDocumentationLinkImpl.Builder>() {
@Override
- void execute(GradleExternalDocumentationLinkImpl link) {
- link.url = uri("some URI").toURL()
- link.packageListUrl = uri("some URI").toURL()
+ void execute(GradleExternalDocumentationLinkImpl.Builder builder) {
+ builder.url = uri("some URI").toURL()
+ builder.packageListUrl = uri("some URI").toURL()
+ builder.build()
}
})
kotlinTasks(new Callable<List<Object>>() {