Bump dokka, update dokka calls, add test md package and module docs
This commit is contained in:
parent
6a87267ed6
commit
a70bb5243c
@ -15,13 +15,13 @@
|
||||
*/
|
||||
|
||||
object Versions {
|
||||
val kotlinCoroutines = "1.3.9"
|
||||
val kotlinCoroutines = "1.4.1"
|
||||
val kotlin = "1.4.10"
|
||||
val kotlinSerialization = "1.0.0"
|
||||
val kotlinSerializationPlugin = "1.4.10"
|
||||
val atomicfu = "0.14.3-M2-2-SNAPSHOT" //NOTE: my linux arm32 and arm64 build
|
||||
val nodePlugin = "1.3.0"
|
||||
val dokkaPlugin = "1.4.0-rc"
|
||||
val dokkaPlugin = "1.4.0"
|
||||
val taskTreePlugin = "1.5"
|
||||
val kotlinBigNumVersion = "0.2.2"
|
||||
val lazySodium = "4.3.1-SNAPSHOT"
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
|
||||
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
|
||||
import org.jetbrains.dokka.Platform
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
@ -275,9 +276,9 @@ tasks {
|
||||
dokkaJavadoc {
|
||||
println("Dokka !")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
named("commonMain") {
|
||||
displayName.set("common")
|
||||
platform.set(Platform.common)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
|
||||
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
|
||||
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
|
||||
import org.jetbrains.dokka.Platform
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
@ -566,9 +567,9 @@ tasks {
|
||||
dokkaJavadoc {
|
||||
println("Dokka !")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
named("commonMain") {
|
||||
displayName.set("common")
|
||||
platform.set(Platform.common)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
|
||||
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
|
||||
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
|
||||
import org.jetbrains.dokka.Platform
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
@ -593,9 +594,9 @@ tasks {
|
||||
dokkaJavadoc {
|
||||
println("Dokka !")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
named("commonMain") {
|
||||
displayName.set("common")
|
||||
platform.set(Platform.common)
|
||||
}
|
||||
}
|
||||
|
||||
@ -605,9 +606,18 @@ tasks {
|
||||
dokkaHtml {
|
||||
println("Dokka Html!")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
named("commonMain") {
|
||||
// displayName.set("common")
|
||||
// platform.set(Platform.common)
|
||||
moduleDisplayName.set("Kotlin Multiplatform Libsodium Bindings")
|
||||
includes.from("src/commonMain/kotlin/com.ionspin.kotlin.crypto/aead/Aead.md",
|
||||
"src/commonMain/kotlin/com.ionspin.kotlin.crypto/CryptoModule.md")
|
||||
displayName.set("Kotlin multiplatform")
|
||||
}
|
||||
configureEach {
|
||||
if (name != "commonMain") {
|
||||
suppress.set(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
# Module Kotlin Multiplatform Libsodium Bindings
|
||||
|
||||
Test test test
|
@ -0,0 +1,4 @@
|
||||
# Package com.ionspin.kotlin.crypto.aead
|
||||
|
||||
Package AEAD stuff here
|
||||
|
@ -18,6 +18,7 @@
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
import org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeTest
|
||||
import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest
|
||||
import org.jetbrains.dokka.Platform
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
@ -401,9 +402,9 @@ tasks {
|
||||
dokkaJavadoc {
|
||||
println("Dokka !")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
named("commonMain") {
|
||||
displayName.set("common")
|
||||
platform.set(Platform.common)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,4 +33,4 @@ data class HexadecimalStringData(val content: String) : DataPackage {
|
||||
}
|
||||
}
|
||||
|
||||
data class FileData(val filePath: )
|
||||
//data class FileData(val filePath: )
|
||||
|
@ -5,7 +5,7 @@ package com.ionspin.kotlin.crypto.sample
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 30-Oct-2020
|
||||
*/
|
||||
expect class FileWrapper(path: String) {
|
||||
fun exists() : Boolean
|
||||
fun rea
|
||||
}
|
||||
//expect class FileWrapper(path: String) {
|
||||
// fun exists() : Boolean
|
||||
//// fun rea
|
||||
//}
|
||||
|
Loading…
x
Reference in New Issue
Block a user