Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 179 for pathSensitivity (0.23 sec)

  1. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/kotlin/build.gradle.kts

    tasks.register("processTemplatesAdHoc") {
        inputs.property("engine", TemplateEngineType.FREEMARKER)
        inputs.files(fileTree("src/templates"))
            .withPropertyName("sourceFiles")
            .withPathSensitivity(PathSensitivity.RELATIVE)
        inputs.property("templateData.name", "docs")
        inputs.property("templateData.variables", mapOf("year" to "2013"))
        outputs.dir(layout.buildDirectory.dir("genOutput2"))
            .withPropertyName("outputDir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDoc.java

         *
         * <p>
         * The {@link PathSensitivity} for the sources is configured to be {@link PathSensitivity#RELATIVE}.
         * </p>
         *
         * @return The source.
         */
        @PathSensitive(PathSensitivity.RELATIVE)
        @Override
        public FileTree getSource() {
            return super.getSource();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/tasks/PathSensitive.java

     *
     * <p>If a {@link org.gradle.api.Task} declares a file property without this annotation, the default is {@link PathSensitivity#ABSOLUTE}.</p>
     *
     * @since 3.1
     */
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.METHOD, ElementType.FIELD})
    public @interface PathSensitive {
        PathSensitivity value();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 11 07:58:50 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/groovy/build.gradle

        outputs.cacheIf { true }
    
        inputs.dir(file("scripts"))
            .withPropertyName("scripts")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        inputs.files("package.json", "package-lock.json")
            .withPropertyName("configFiles")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        outputs.file(layout.buildDirectory.file("bundle.js"))
            .withPropertyName("bundle")
    }
    // end::bundle-task[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/PreCompiledHeader.java

            this.pchObjects = pchObjects;
        }
    
        @IgnoreEmptyDirectories
        @PathSensitive(PathSensitivity.ABSOLUTE)
        @InputFiles
        public FileCollection getPchObjects() {
            return pchObjects;
        }
    
        @Nullable
        @Optional
        @PathSensitive(PathSensitivity.ABSOLUTE)
        @InputFile
        public File getPrefixHeaderFile() {
            return prefixHeaderFile;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/buildCache/cacheable-bundle/kotlin/build.gradle.kts

        outputs.cacheIf { true }
    
        inputs.dir(file("scripts"))
            .withPropertyName("scripts")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        inputs.files("package.json", "package-lock.json")
            .withPropertyName("configFiles")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
        outputs.file(layout.buildDirectory.file("bundle.js"))
            .withPropertyName("bundle")
    }
    // end::bundle-task[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/FindGradleSources.kt

    import org.gradle.api.file.FileSystemLocation
    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.IgnoreEmptyDirectories
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.kotlin.dsl.support.unzipTo
    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    
    
    /**
     * This dependency transform is responsible for extracting the sources from
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 13:27:20 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.InputFiles
    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.workers.WorkerExecutor
    import javax.inject.Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 09:32:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java

    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.TaskAction;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.regex.Pattern;
    
    /**
     * Verifies that the given readme file contains the desired patterns.
     */
    public abstract class ReadmeVerificationTask extends DefaultTask {
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle

    tasks.register('processTemplatesAdHoc') {
        inputs.property('engine', TemplateEngineType.FREEMARKER)
        inputs.files(fileTree('src/templates'))
            .withPropertyName('sourceFiles')
            .withPathSensitivity(PathSensitivity.RELATIVE)
        inputs.property('templateData.name', 'docs')
        inputs.property('templateData.variables', [year: '2013'])
        outputs.dir(layout.buildDirectory.dir('genOutput2'))
            .withPropertyName('outputDir')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top