Skip to content

Commit 1e705c1

Browse files
authored
Use downloaded package list for dokka (and knit, transitively) to avo… (#1195)
Use downloaded package list for dokka (and knit, transitively) to avoid dependency on (frequently) unstable external JavaDoc resources Fixes #648
1 parent 725addf commit 1e705c1

File tree

10 files changed

+257
-1
lines changed

10 files changed

+257
-1
lines changed

integration/kotlinx-coroutines-guava/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ dependencies {
1111
tasks.withType(dokka.getClass()) {
1212
externalDocumentationLink {
1313
url = new URL("https://google.github.io/guava/releases/$guava_version/api/docs/")
14+
packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
1415
}
1516
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
com.google.common.annotations
2+
com.google.common.base
3+
com.google.common.cache
4+
com.google.common.collect
5+
com.google.common.escape
6+
com.google.common.eventbus
7+
com.google.common.graph
8+
com.google.common.hash
9+
com.google.common.html
10+
com.google.common.io
11+
com.google.common.math
12+
com.google.common.net
13+
com.google.common.primitives
14+
com.google.common.reflect
15+
com.google.common.util.concurrent
16+
com.google.common.xml

reactive/kotlinx-coroutines-reactive/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ test {
2929
tasks.withType(dokka.getClass()) {
3030
externalDocumentationLink {
3131
url = new URL("https://www.reactive-streams.org/reactive-streams-$reactive_streams_version-javadoc/")
32+
packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
3233
}
3334
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.reactivestreams

reactive/kotlinx-coroutines-reactor/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies {
99

1010
tasks.withType(dokka.getClass()) {
1111
externalDocumentationLink {
12-
url = new URL('https://projectreactor.io/docs/core/3.2.5.RELEASE/api/')
12+
url = new URL("https://projectreactor.io/docs/core/$reactor_vesion/api/")
13+
packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
1314
}
1415
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
reactor.adapter
2+
reactor.core
3+
reactor.core.publisher
4+
reactor.core.scheduler
5+
reactor.util
6+
reactor.util.annotation
7+
reactor.util.concurrent
8+
reactor.util.context
9+
reactor.util.function

reactive/kotlinx-coroutines-rx2/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies {
1212
tasks.withType(dokka.getClass()) {
1313
externalDocumentationLink {
1414
url = new URL('http://reactivex.io/RxJava/javadoc/')
15+
packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
1516
}
1617
}
1718

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
io.reactivex
2+
io.reactivex.annotations
3+
io.reactivex.disposables
4+
io.reactivex.exceptions
5+
io.reactivex.flowables
6+
io.reactivex.functions
7+
io.reactivex.observables
8+
io.reactivex.observers
9+
io.reactivex.parallel
10+
io.reactivex.plugins
11+
io.reactivex.processors
12+
io.reactivex.schedulers
13+
io.reactivex.subjects
14+
io.reactivex.subscribers

ui/kotlinx-coroutines-android/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ dependencies {
1717
tasks.withType(dokka.getClass()) {
1818
externalDocumentationLink {
1919
url = new URL("https://developer.android.com/reference/")
20+
packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
2021
}
2122
}
+211
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
android
2+
android.accessibilityservice
3+
android.accounts
4+
android.animation
5+
android.annotation
6+
android.app
7+
android.app.admin
8+
android.app.assist
9+
android.app.backup
10+
android.app.job
11+
android.app.role
12+
android.app.slice
13+
android.app.usage
14+
android.appwidget
15+
android.bluetooth
16+
android.bluetooth.le
17+
android.companion
18+
android.content
19+
android.content.pm
20+
android.content.res
21+
android.database
22+
android.database.sqlite
23+
android.drm
24+
android.gesture
25+
android.graphics
26+
android.graphics.drawable
27+
android.graphics.drawable.shapes
28+
android.graphics.fonts
29+
android.graphics.pdf
30+
android.graphics.text
31+
android.hardware
32+
android.hardware.biometrics
33+
android.hardware.camera2
34+
android.hardware.camera2.params
35+
android.hardware.display
36+
android.hardware.fingerprint
37+
android.hardware.input
38+
android.hardware.usb
39+
android.icu.lang
40+
android.icu.math
41+
android.icu.text
42+
android.icu.util
43+
android.inputmethodservice
44+
android.location
45+
android.media
46+
android.media.audiofx
47+
android.media.browse
48+
android.media.effect
49+
android.media.midi
50+
android.media.projection
51+
android.media.session
52+
android.media.tv
53+
android.mtp
54+
android.net
55+
android.net.http
56+
android.net.nsd
57+
android.net.rtp
58+
android.net.sip
59+
android.net.ssl
60+
android.net.wifi
61+
android.net.wifi.aware
62+
android.net.wifi.hotspot2
63+
android.net.wifi.hotspot2.omadm
64+
android.net.wifi.hotspot2.pps
65+
android.net.wifi.p2p
66+
android.net.wifi.p2p.nsd
67+
android.net.wifi.rtt
68+
android.nfc
69+
android.nfc.cardemulation
70+
android.nfc.tech
71+
android.opengl
72+
android.os
73+
android.os.health
74+
android.os.storage
75+
android.os.strictmode
76+
android.preference
77+
android.print
78+
android.print.pdf
79+
android.printservice
80+
android.provider
81+
android.renderscript
82+
android.sax
83+
android.se.omapi
84+
android.security
85+
android.security.keystore
86+
android.service.autofill
87+
android.service.carrier
88+
android.service.chooser
89+
android.service.dreams
90+
android.service.media
91+
android.service.notification
92+
android.service.quicksettings
93+
android.service.restrictions
94+
android.service.textservice
95+
android.service.voice
96+
android.service.vr
97+
android.service.wallpaper
98+
android.speech
99+
android.speech.tts
100+
android.system
101+
android.telecom
102+
android.telephony
103+
android.telephony.cdma
104+
android.telephony.data
105+
android.telephony.emergency
106+
android.telephony.euicc
107+
android.telephony.gsm
108+
android.telephony.mbms
109+
android.test
110+
android.test.mock
111+
android.test.suitebuilder
112+
android.test.suitebuilder.annotation
113+
android.text
114+
android.text.format
115+
android.text.method
116+
android.text.style
117+
android.text.util
118+
android.transition
119+
android.util
120+
android.view
121+
android.view.accessibility
122+
android.view.animation
123+
android.view.autofill
124+
android.view.inputmethod
125+
android.view.inspector
126+
android.view.textclassifier
127+
android.view.textservice
128+
android.webkit
129+
android.widget
130+
dalvik.annotation
131+
dalvik.bytecode
132+
dalvik.system
133+
java.awt.font
134+
java.beans
135+
java.io
136+
java.lang
137+
java.lang.annotation
138+
java.lang.invoke
139+
java.lang.ref
140+
java.lang.reflect
141+
java.math
142+
java.net
143+
java.nio
144+
java.nio.channels
145+
java.nio.channels.spi
146+
java.nio.charset
147+
java.nio.charset.spi
148+
java.nio.file
149+
java.nio.file.attribute
150+
java.nio.file.spi
151+
java.security
152+
java.security.acl
153+
java.security.cert
154+
java.security.interfaces
155+
java.security.spec
156+
java.sql
157+
java.text
158+
java.time
159+
java.time.chrono
160+
java.time.format
161+
java.time.temporal
162+
java.time.zone
163+
java.util
164+
java.util.concurrent
165+
java.util.concurrent.atomic
166+
java.util.concurrent.locks
167+
java.util.function
168+
java.util.jar
169+
java.util.logging
170+
java.util.prefs
171+
java.util.regex
172+
java.util.stream
173+
java.util.zip
174+
javax.crypto
175+
javax.crypto.interfaces
176+
javax.crypto.spec
177+
javax.microedition.khronos.egl
178+
javax.microedition.khronos.opengles
179+
javax.net
180+
javax.net.ssl
181+
javax.security.auth
182+
javax.security.auth.callback
183+
javax.security.auth.login
184+
javax.security.auth.x500
185+
javax.security.cert
186+
javax.sql
187+
javax.xml
188+
javax.xml.datatype
189+
javax.xml.namespace
190+
javax.xml.parsers
191+
javax.xml.transform
192+
javax.xml.transform.dom
193+
javax.xml.transform.sax
194+
javax.xml.transform.stream
195+
javax.xml.validation
196+
javax.xml.xpath
197+
junit.framework
198+
junit.runner
199+
org.apache.http.conn
200+
org.apache.http.conn.scheme
201+
org.apache.http.conn.ssl
202+
org.apache.http.params
203+
org.json
204+
org.w3c.dom
205+
org.w3c.dom.ls
206+
org.xml.sax
207+
org.xml.sax.ext
208+
org.xml.sax.helpers
209+
org.xmlpull.v1
210+
org.xmlpull.v1.sax2
211+

0 commit comments

Comments
 (0)