Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around publish Dokka problem #38

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Work around publish Dokka problem #38

merged 1 commit into from
Jun 12, 2024

Commits on Jun 12, 2024

  1. Work around publish Dokka problem

    It was discovered using the gradle-release devloop:
    atlassian-labs/gradle-release@806c334
    
    Here, in Docker infra, it was locally confirmed by `publishToMavenLocal --stacktrace`.
    
    Before:
    ```
    * What went wrong:
    org/jetbrains/kotlin/gradle/dsl/KotlinSingleTargetExtension
    > org.jetbrains.kotlin.gradle.dsl.KotlinSingleTargetExtension
    
    * Try:
    > Run with --info or --debug option to get more log output.
    
    * Exception is:
    java.lang.NoClassDefFoundError: org/jetbrains/kotlin/gradle/dsl/KotlinSingleTargetExtension
            at org.jetbrains.dokka.gradle.kotlin.KotlinCompilationUtilsKt.allCompilationsOf(kotlinCompilationUtils.kt:25)
            at org.jetbrains.dokka.gradle.kotlin.IsMainSourceSetKt.isMainSourceSet(isMainSourceSet.kt:10)
            at org.jetbrains.dokka.gradle.kotlin.KotlinSourceSetGistKt$gistOf$2.call(KotlinSourceSetGist.kt:21)
            at org.jetbrains.dokka.gradle.kotlin.KotlinSourceSetGistKt$gistOf$2.call(KotlinSourceSetGist.kt)
            at org.gradle.api.internal.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:72)
    
    BUILD FAILED in 11s
    ```
    
    After:
    ```
    BUILD SUCCESSFUL in 4s
    10 actionable tasks: 4 executed, 6 up-to-date
    ```
    dagguh committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    ed56709 View commit details
    Browse the repository at this point in the history