Update dokka, update resource extractor, update js wrapper versions, remove js from sample as gradle cant find libs when building
This commit is contained in:
12 files changed
+74
-145
No files matched your search
@@ -47,7 +47,6 @@ val sonatypeUsernameEnv: String? = System.getenv()["SONATYPE_USERNAME"]
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven {
|
||||
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
|
||||
}
|
||||
@@ -604,21 +603,19 @@ tasks {
|
||||
|
||||
|
||||
|
||||
dokkaJavadoc {
|
||||
|
||||
create<Jar>("javadocJar") {
|
||||
dependsOn(dokkaHtml)
|
||||
archiveClassifier.set("javadoc")
|
||||
from(dokkaHtml.get().outputDirectory)
|
||||
}
|
||||
|
||||
dokkaHtml {
|
||||
println("Dokka !")
|
||||
dokkaSourceSets {
|
||||
create("commonMain") {
|
||||
displayName = "common"
|
||||
platform = "common"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
create<Jar>("javadocJar") {
|
||||
dependsOn(dokkaJavadoc)
|
||||
archiveClassifier.set("javadoc")
|
||||
from(dokkaJavadoc.get().outputDirectory)
|
||||
}
|
||||
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
||||
val jvmTest by getting(Test::class) {
|
||||
testLogging {
|
||||
@@ -755,18 +752,5 @@ publishing {
|
||||
}
|
||||
}
|
||||
|
||||
//configurations.forEach {
|
||||
//
|
||||
// if (it.name == "linuxCompileKlibraries") {
|
||||
// println("Configuration name: ${it.name}")
|
||||
// it.attributes {
|
||||
// this.keySet().forEach { key ->
|
||||
// val attribute = getAttribute(key)
|
||||
// println(" |-- Attribute $key ${attribute}")
|
||||
// attribute(org.jetbrains.kotlin.gradle.plugin.ProjectLocalConfigurations.ATTRIBUTE, "publicZ")
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
package com.ionspin.kotlin.crypto
|
||||
|
||||
import co.libly.resourceloader.FileLoader
|
||||
import co.libly.resourceloader.SharedLibraryLoader
|
||||
import com.goterl.resourceloader.SharedLibraryLoader
|
||||
import com.sun.jna.Native
|
||||
import com.sun.jna.Platform
|
||||
import java.io.File
|
||||
|
||||
Reference in new issue
Block a user