Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

# Android: Publishes to Artifactory
- name: "Publish to artifactory"
run: ./gradlew assemble --no-configuration-cache && ./gradlew publish --no-configuration-cache --stacktrace
run: ./gradlew javadocJar assemble --no-configuration-cache && ./gradlew publish --no-configuration-cache --stacktrace

# iOS: Build and publish xcframeworks to the GitHub release
- name: "Build xcframework"
Expand Down
21 changes: 8 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,20 @@ subprojects {
remoteLineSuffix.set("#lines-")
}
}

val nativeMain by getting {
sourceLink {
// Unix based directory relative path to the root of the project (where you execute gradle respectively).
localDirectory.set(file("src/nativeMain/kotlin"))

// URL showing where the source code can be accessed through the web browser
remoteUrl.set(URL("${srcUrl}src/main/src/nativeMain/kotlin"))

// Suffix which is used to append the line number to the URL. Use #L for GitHub
remoteLineSuffix.set("#lines-")
}
}
}
}

val dokkaHtml by project.tasks.getting(org.jetbrains.dokka.gradle.DokkaTask::class)
val javadocJar: TaskProvider<Jar> by project.tasks.registering(Jar::class) {
dependsOn(dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaHtml.outputDirectory)
}

publishing {
publications {
publications.withType<MavenPublication> {
artifact(javadocJar)
pom {
name.set(project.name)
description.set(project.ext.get("pomDescription") as String)
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
projectVersion=1.1.5
projectVersion=1.1.7