@@ -43,6 +43,7 @@ kotlin {
4343 this .moduleName = currentModuleName
4444 this .binaries.library()
4545 this .useCommonJs()
46+ generateTypeScriptDefinitions()
4647 this .compilations[" main" ].packageJson {
4748 this .version = rootProject.version.toString()
4849 }
@@ -54,25 +55,14 @@ kotlin {
5455 this .output.library = currentModuleName
5556 this .output.libraryTarget = Target .VAR
5657 }
57- this .commonWebpackConfig {
58- this .cssSupport {
59- this .enabled = true
60- }
61- }
6258 this .testTask {
63- if (os.isWindows) {
64- this .enabled = false
65- }
6659 this .useKarma {
6760 this .useChromeHeadless()
6861 }
6962 }
7063 }
7164 nodejs {
7265 this .testTask {
73- if (os.isWindows) {
74- this .enabled = false
75- }
7666 this .useKarma {
7767 this .useChromeHeadless()
7868 }
@@ -98,10 +88,10 @@ kotlin {
9888 sourceSets {
9989 val commonMain by getting {
10090 dependencies {
101- implementation(" io.iohk.atala.prism.apollo:multibase:1.7.0-alpha " )
102- implementation(" io.iohk.atala.prism.apollo:varint:1.7.0-alpha " )
103- implementation(" io.iohk.atala.prism.apollo:base64:1.7.0-alpha " )
104- implementation(" io.iohk.atala.prism.apollo:base58:1.7.0-alpha " )
91+ implementation(" io.iohk.atala.prism.apollo:multibase:1.0.2 " )
92+ implementation(" io.iohk.atala.prism.apollo:varint:1.0.2 " )
93+ implementation(" io.iohk.atala.prism.apollo:base64:1.0.2 " )
94+ implementation(" io.iohk.atala.prism.apollo:base58:1.0.2 " )
10595 implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" )
10696 implementation(" com.squareup.okio:okio:3.2.0" )
10797 }
@@ -197,23 +187,11 @@ android {
197187tasks.withType<DokkaTask > {
198188 moduleName.set(project.name)
199189 moduleVersion.set(rootProject.version.toString())
200- description = """
201- This is a Kotlin Multiplatform Library for Mercury DIDPeer
202- """ .trimIndent()
190+ description = " This is a Kotlin Multiplatform Library for Mercury DIDPeer"
203191 dokkaSourceSets {
204192 // TODO: Figure out how to include files to the documentations
205193 named(" commonMain" ) {
206194 includes.from(" Module.md" , " docs/Module.md" )
207195 }
208196 }
209197}
210-
211- // afterEvaluate {
212- // tasks.withType<AbstractTestTask> {
213- // testLogging {
214- // events("passed", "skipped", "failed", "standard_out", "standard_error")
215- // showExceptions = true
216- // showStackTraces = true
217- // }
218- // }
219- // }
0 commit comments