Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getReplacementTokens (0.09 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                ModuleIdentityExtension moduleIdentity = project.getExtensions().getByType(ModuleIdentityExtension.class);
                MapProperty<String, String> replacementTokens = task.getReplacementTokens();
                replacementTokens.put("version", moduleIdentity.getVersion().map(GradleVersion::getVersion));
                replacementTokens.put("baseVersion", moduleIdentity.getVersion().map(v -> v.getBaseVersion().getVersion()));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top