Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adam-enko
Copy link
Member

@adam-enko adam-enko commented Mar 27, 2024

Enables Configuration Cache for Dokka's build configuration.

Summary

  • Enabled CC.
  • Set CC error level to 'warn'. (Future build script or plugin changes might cause CC issues. Although such problems should be fixed, I'd rather that developers aren't blocked with CC errors.)
  • Updated some build script config to avoid CC issues
    • update usages of project version, to avoid Task.getProject()
    • move variables into gradleEnterprise {} block, to avoid references to the build script context
  • Disabled CC for remote Maven publishing tasks. Remote Maven Repos (particularly Maven Central) struggle to cope with parallel uploads, and artifacts may be lost, or split. To prevent issues, CC is manually disabled for all publishing tasks.
  • Removed --no-daemon from TeamCity Gradle Steps. TeamCity will instead launch Gradle using the Tooling API (TAPI). (internal discussion).

- update usages of project version, to avoid `Task.getProject()`
- move variables into `gradleEnterprise {}` block, to avoid references to the build script context
@adam-enko adam-enko added the infrastructure Everything related to builds tools, CI configurations and project tooling label Mar 27, 2024
@adam-enko adam-enko self-assigned this Mar 27, 2024
@adam-enko adam-enko requested review from Tapchicoma and whyoleg March 27, 2024 14:31
@adam-enko adam-enko marked this pull request as ready for review March 27, 2024 14:32
@adam-enko adam-enko requested review from dkrasnoff and removed request for Tapchicoma March 27, 2024 14:39
@adam-enko adam-enko merged commit 7a25a0c into master Apr 3, 2024
@adam-enko adam-enko deleted the build-config/enable-configuration-cache branch April 3, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Everything related to builds tools, CI configurations and project tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants