Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

hypertrace/hypertrace-gradle-dependency-settings-plugin

org.hypertrace.dependency-settings

Purpose

This plugin configures various aspects of dependency management. Where values are configurable, adefault is specified.Certain values are configurable viadependencySettings extension inside each projectbuild.gradle.kts, but most areconfigured only once in adependencySettings extension in settings.gradle.kts.

  • Adds a version catalog (default name:commonLibs, defaultartifact:org.hypertrace.bom:hypertrace-version-catalog:<catalogVersion>. catalogVersion must beset explicitly)
  • Renames the defaultlibs catalog (fromlibs.versions.toml) tolocalLibs to disambiguate
  • For each java project:
    • Adds dependency repositories of mavenLocal, mavenCentral, confluent and hypertrace
    • IfautoApplyBom is specified (default: true), adds a BOM dependency to theapiconfiguration (falling backtoimplementation ifapi is unavailable). The BOM reference to use (bomArtifactName -defaulthypertrace.bom) and version can also be configured.bomVersionName (defaultstohypertrace.bom)describes the name of the version property in the catalog andbomVersion (defaults tolatest -+) describes the value to assign.
    • IfuseDependencyLocking is specified (default: true), configures strict dependency lockingon certainconfigurations (default:annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath)
      • If integration tests are found, it will also addintegrationTestCompileClasspath andintegrationTestRuntimeClasspath
    • IfuseDependencyLocking is specified (default: true), adds a projecttaskresolveAndLockAllwhich can be used inconjunction with the--write-locks flag to update all project lockfiles.

Example usage insettings.gradle.kts:

    plugins {  id("org.hypertrace.dependency-settings") version"0.1.0"}configure<DependencyPluginSettingExtension> {  catalogVersion.set("0.1.0")}

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp