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

plugins v0.7.0 release #18

Merged
merged 29 commits into from
Nov 29, 2024
Merged

plugins v0.7.0 release #18

merged 29 commits into from
Nov 29, 2024

Conversation

ShreckYe
Copy link
Member

No description provided.

…hot in the `sonatype-ossrh-publish` plugin

Somehow with the original approach of configuring `onlyIf` in the `Sign` tasks, when the signing key is configured in `~/.gradle/gradle.properties`, `publishToMavenLocal` becomes significantly slower. This solves the problem.

Bump the aligned project version BTW.
…adapted from "kotlin-common"

A source commit: huanshankeji/kotlin-common@157159b

The `dokkaGenerate` tasks fails with the following error:

```text
Execution failed for task ':dokkaGeneratePublicationHtml'.
> Could not resolve all files for configuration ':dokkaHtmlPluginIntransitiveResolver~internal'.
   > Cannot resolve external dependency org.jetbrains.dokka:templating-plugin:2.0.0-Beta because no repositories are defined.
     Required by:
         root project :
   > Cannot resolve external dependency org.jetbrains.dokka:dokka-base:2.0.0-Beta because no repositories are defined.
     Required by:
         root project :
```

This may be a bug from Dokka. See Kotlin/dokka#2260.
Deploy the API documentation to GitHub Pages with Dokka
Changes:

1. use the project relative path in the source remote URL to improve its versatility
1. fix the bug that incorrect release tags `v...`` are used, while correct ones should be `plugins-v...`
1. put the `dokka` configuration code in `afterEvaluate` so the project version can be retrieved
…ctories while "blob" is for files

You get redirected if using the wrong one though.
…adle.api.internal.provider.MissingValueException` in projects in the Dokka convention plugins
…lve an additional error

While running `dokkaGenerate` in dependent projects:

```text
A problem was found with the configuration of task ':exposed-adt-mapping:dokkaGenerateModuleHtml' (type 'DokkaGenerateModuleTask').
  - In plugin 'org.jetbrains.dokka.gradle.DokkaBasePlugin_Decorated' type 'org.jetbrains.dokka.gradle.tasks.DokkaGenerateModuleTask' property 'generator.dokkaSourceSets.main$0.sourceLinks.$0.remoteUrl' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'generator.dokkaSourceSets.main$0.sourceLinks.$0.remoteUrl'.
      2. Mark property 'generator.dokkaSourceSets.main$0.sourceLinks.$0.remoteUrl' as optional.
```

Simply moving `map`s outside doesn't resolve this issue, probably because `Provider.map` is lazy not eager. So calling `Provider.set` inside them is not a good idea.
@ShreckYe ShreckYe changed the title v0.7.0 release plugins v0.7.0 release Nov 29, 2024
@ShreckYe ShreckYe merged commit 0f4145b into plugins-release Nov 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant