Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getReplacementTokens (0.16 sec)

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

        /**
         * Key-value pairs that are replaced in the generated HTML.
         *
         * This uses Ant style replacement tokens.
         */
        @Input
        public abstract MapProperty<String, String> getReplacementTokens();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void transform() {
            File destinationFile = getDestinationFile().get().getAsFile();
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  2. 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