Harald Pehl
10/28/2020, 10:08 AMbuild.gradle.kts
file:
plugins {
kotlin("js") version "1.4.10"
id("org.jetbrains.dokka") version "1.4.10"
`maven-publish`
}
group = "dev.fritz2"
version = "0.8-SNAPSHOT"
repositories {
mavenLocal()
mavenCentral()
maven("<https://oss.jfrog.org/artifactory/jfrog-dependencies>")
maven("<https://oss.sonatype.org/content/repositories/snapshots/>")
jcenter()
}
dependencies {
implementation("dev.fritz2:core:0.8-SNAPSHOT")
}
kotlin {
explicitApi()
js {
browser {
testTask {
useKarma {
useChromeHeadless()
}
}
}
}
}
If I execute gradle publishToMavenLocal
nothing gets published to my local maven repo. I remember this worked sometime ago. Does anybody else facing the same issue?
The code / project is also available on GitHub: https://github.com/hpehl/fritz2-elementoVampire
10/28/2020, 10:11 AMVampire
10/28/2020, 10:12 AMmaven-publish
plugin 😉Harald Pehl
10/28/2020, 10:34 AMmaven-publish
plugin documentation (e.g. https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven:complete_example).
Problem is that the documentation refers to Java libraries and I don't know how to apply to Kotlin/JS.Vampire
10/28/2020, 10:44 AMHarald Pehl
10/28/2020, 10:46 AMHarald Pehl
10/28/2020, 10:48 AMkotlin("multiplatform") version "1.4.10"
Now the lib gets published w/o any further configuration.Big Chungus
10/28/2020, 11:11 AMBig Chungus
10/28/2020, 11:13 AMHarald Pehl
10/28/2020, 11:14 AMBig Chungus
10/28/2020, 11:16 AMHarald Pehl
10/28/2020, 11:23 AMRobert Jaros
10/28/2020, 12:34 PMHarald Pehl
10/28/2020, 12:37 PM