aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-29 16:07:34 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-29 16:07:34 +0200
commitbc83950d6a147111eba061031eb02e1649ba9fdd (patch)
tree4deb5ca0db5dc211a7516f0643656d0ee2fa3960
parent885ddd8cfffeb39d837fbd545e009c2cd93e983e (diff)
downloaddokka-bc83950d6a147111eba061031eb02e1649ba9fdd.tar.gz
dokka-bc83950d6a147111eba061031eb02e1649ba9fdd.tar.bz2
dokka-bc83950d6a147111eba061031eb02e1649ba9fdd.zip
Fix some tests
-rw-r--r--runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle11
-rw-r--r--runners/gradle-integration-tests/testData/basic/build.gradle2
-rw-r--r--runners/gradle-integration-tests/testData/sourcesChange/build.gradle2
3 files changed, 8 insertions, 7 deletions
diff --git a/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle b/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle
index 0f27d365..82215a44 100644
--- a/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle
+++ b/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle
@@ -30,10 +30,11 @@ dependencies {
}
dokka {
- dokkaFatJar = new File(dokka_fatjar)
-
- externalDocumentationLink {
- url = new URL("https://example.com")
- packageListUrl = file("$rootDir/package-list").toURI().toURL()
+ dokkaFatJar = files(dokka_fatjar)
+ configuration {
+ externalDocumentationLink {
+ url = new URL("https://example.com")
+ packageListUrl = file("$rootDir/package-list").toURI().toURL()
+ }
}
} \ No newline at end of file
diff --git a/runners/gradle-integration-tests/testData/basic/build.gradle b/runners/gradle-integration-tests/testData/basic/build.gradle
index a3116751..85e86748 100644
--- a/runners/gradle-integration-tests/testData/basic/build.gradle
+++ b/runners/gradle-integration-tests/testData/basic/build.gradle
@@ -35,6 +35,6 @@ dependencies {
dokka {
- dokkaFatJar = new File(dokka_fatjar)
+ dokkaFatJar = files(dokka_fatjar)
classpath += files("$projectDir/classDir")
} \ No newline at end of file
diff --git a/runners/gradle-integration-tests/testData/sourcesChange/build.gradle b/runners/gradle-integration-tests/testData/sourcesChange/build.gradle
index 4627e8ef..f436afb4 100644
--- a/runners/gradle-integration-tests/testData/sourcesChange/build.gradle
+++ b/runners/gradle-integration-tests/testData/sourcesChange/build.gradle
@@ -35,5 +35,5 @@ dependencies {
dokka {
- dokkaFatJar = new File(dokka_fatjar)
+ dokkaFatJar = files(dokka_fatjar)
} \ No newline at end of file