robstoll
04/12/2017, 5:29 PMDalinar
04/14/2017, 9:48 AM[Long.myExtensionFunction]
is still underlined (the stuff after the .
) - update: now it's removed the importIan
04/15/2017, 4:54 PM@snippet
but that requires that the code be in a function, and I can’t declare sealed classes inside a function. I’ve also tried using the triple-backticks to embed the code directly, but for some reason that doesn’t seem to retain indenting (at least in the Intellij preview of the kdoc)codeprogression
04/18/2017, 5:49 PMericksli
04/23/2017, 5:24 AMalex2069
05/18/2017, 6:28 AMCaused by: java.io.FileNotFoundException: <https://kotlinlang.org/api/latest/jvm/stdlib/package-list>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at java.net.URL.openStream(URL.java:1045)
at org.jetbrains.dokka.ExternalDocumentationLinkResolver.loadPackageLists(ExternalDocumentationLinkResolver.kt:30)
at org.jetbrains.dokka.ExternalDocumentationLinkResolver.<init>(ExternalDocumentationLinkResolver.kt:60)
at org.jetbrains.dokka.ExternalDocumentationLinkResolver$$FastClassByGuice$$34356095.newInstance(<generated>)
natpryce
05/22/2017, 11:40 AMnatpryce
05/22/2017, 12:07 PMchrmelchior
05/25/2017, 11:07 AMprovided
dependency. Now I want to generate KDoc files for only my extension methods, but It doesn’t look possible without getting a lot of errors about missing types and the resulting Doc looks like this fun <E> <ERROR CLASS>.where(clazz: KClass<E>): <ERROR CLASS><E>
. Is there a way to generate the KDoc for only my extension method and still show the class names?fred.deschenes
05/30/2017, 3:34 PMnatpryce
06/01/2017, 11:04 AMsdkman install kotlin
?suresh
06/01/2017, 5:31 PM0.9.14
?kyle
06/05/2017, 3:37 PMError:Could not get unknown property 'org' for project ':library' of type org.gradle.api.Project.
when using dokka? Trying to do task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
}
task androidDokkaJar(type: Jar, dependsOn: dokkaJavadoc) {
classifier = 'javadoc'
from dokkaJavadoc.outputDirectory
}
semoro
06/26/2017, 4:56 PMsdeleuze
08/24/2017, 7:53 PMsdeleuze
08/28/2017, 10:37 AMclasspath
is not an Iterable<File>
like sourceDirs
? It seems to prevent using easily FileCollection
...robfletcher
09/22/2017, 5:41 PMdokka-gradle-plugin:0.9.15
and kotlin-gradle-plugin:1.1.50
my build blows up with Using Kotlin incremental compilation
e: java.lang.NoSuchMethodError: kotlin.reflect.jvm.internal.KClassImpl.getData()Lkotlin/reflect/jvm/internal/ReflectProperties$LazyVal;
at kotlin.reflect.full.KClasses.getMemberProperties(KClasses.kt:149)
at org.jetbrains.kotlin.compilerRunner.ArgumentUtils.convertArgumentsToStringList(ArgumentUtils.java:59)
at org.jetbrains.kotlin.compilerRunner.ArgumentUtils.convertArgumentsToStringList(ArgumentUtils.java:47)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.compileWithDaemonOrFallback(GradleKotlinCompilerRunner.kt:147)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.compileWithDaemonOrFallback(GradleKotlinCompilerRunner.kt:52)
at org.jetbrains.kotlin.compilerRunner.KotlinCompilerRunner.runCompiler(KotlinCompilerRunner.kt:127)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runJvmCompiler(GradleKotlinCompilerRunner.kt:107)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:326)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:231)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:203)
…
napperley
09/24/2017, 2:28 AMnapperley
09/26/2017, 3:59 AMsdeleuze
09/26/2017, 8:10 AMcodeprogression
10/18/2017, 3:00 PMcody
10/25/2017, 1:42 PM@property
when writing KDoc? Using the Kotlin plugin for Android Studio it appears to break the generation of documentation for the tooltip window. Essentially everything after @property
does not display.pniederw
10/29/2017, 7:37 AMoutputFormat = 'html'
)? I’d love to use a single doc generator with single look & feel for my project’s java and kotlin apis. however, I need the java docs to show java signatures. (the reason for writing some of my apis in java is that I can’t impose kotlin on everyone.)andrei.heidelbacher
11/03/2017, 12:26 PMmadorb
12/05/2017, 3:35 PMcomponentN()
that have the documentation of each @property definition of my class applied to them (on top of the generated getProperty()
methods). is this expected?
/**
* Represents an error that will be serialized back to the client in a standardized format.
* This should be used for all error responses that require a body to be returned in the response.
*
* @property description User-facing description of the error
* @property type Type of the error
* @property code An optional unique identifier for the particular error
* @constructor Create an Error instance
*/
data class Error(val description: String, val type: ErrorType, val code: String? = null)
mikehearn
12/13/2017, 3:08 PMmkobit
12/25/2017, 8:09 PMtodd.ginsberg
01/01/2018, 4:33 PMFormatDescriptor
for a style that does everything the html format does excpet using KotlinWebsiteSampleProcessingService
. That seems straight forward - define dokka/format/myformatname.properties and away we go. But I think the way the gradle-dokka plugin is looking up resources, I'm never going to be able to package my`FormatDescriptor` and its property files in a separate jar. I tried doing this and the packaging looks correct, and the jar for my formatter is on the build's classpath (so, in the buildscript/dependencies section), but I keep getting exceptions that it can't be found.
https://github.com/Kotlin/dokka/blob/d1eee305ef865eee8848989363db3f0fed63e11a/core/src/main/kotlin/Utilities/ServiceLocator.kt#L33Slackbot
01/01/2018, 7:30 PMdavid.bilik
01/25/2018, 11:37 AMdavid.bilik
01/25/2018, 11:37 AMyole
01/28/2018, 10:16 AM