Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for fileExtensions (0.21 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/FileNameDerivingClassNameConverter.java

        private final SourceFileClassNameConverter delegate;
        private final Set<String> fileExtensions;
    
        public FileNameDerivingClassNameConverter(SourceFileClassNameConverter delegate, Set<String> fileExtensions) {
            this.delegate = delegate;
            this.fileExtensions = fileExtensions;
        }
    
        @Override
        public Set<String> getClassNames(String sourceFileRelativePath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go

    		name            string
    		path            string
    		recursive       bool
    		fileExtensions  []string
    		expectedPaths   []string
    		expectPathError bool
    	}{
    		{
    			name:           "Recursive with default file extensions",
    			path:           testDir,
    			recursive:      true,
    			fileExtensions: FileExtensions,
    			expectedPaths: []string{
    				filepath.Join(testDir, "0", "10.yaml"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/MinimalGroovyCompileOptions.java

            this.keepStubs = keepStubs;
        }
    
        public List<String> getFileExtensions() {
            return fileExtensions;
        }
    
        public void setFileExtensions(List<String> fileExtensions) {
            this.fileExtensions = fileExtensions;
        }
    
        public MinimalGroovyCompilerDaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec/canUseCustomFileExtensions/build.gradle

    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation "junit:junit:4.13"
    }
    
    sourceSets.test.groovy.filter.includes = ["**/*.spec"]
    
    compileTestGroovy {
        groovyOptions.fileExtensions = ["spec"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 243 bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompilerTest.groovy

                assert spec.sourceFiles == files('Person1.java', 'Person2.groovy')
            }
        }
    
        def "excludes source files that have extension different from specified by fileExtensions option"() {
            spec.groovyCompileOptions.fileExtensions = ['html']
    
            when:
            compiler.execute(spec)
    
            then:
            1 * target.execute(spec) >> {
                assert spec.sourceFiles == files('package.html')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    			ContentType:        runtime.ContentTypeYAML,
    			FileExtensions:     []string{"yaml"},
    			EncodesAsText:      true,
    			Serializer:         yamlSerializer,
    			StrictSerializer:   strictYAMLSerializer,
    		},
    		{
    			AcceptContentTypes: []string{runtime.ContentTypeProtobuf},
    			ContentType:        runtime.ContentTypeProtobuf,
    			FileExtensions:     []string{"pb"},
    			Serializer:         protoSerializer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompiler.java

            final List<String> fileExtensions = CollectionUtils.collect(spec.getGroovyCompileOptions().getFileExtensions(), extension -> '.' + extension);
            Iterable<File> filtered = Iterables.filter(spec.getSourceFiles(), new Predicate<File>() {
                @Override
                public boolean apply(File element) {
                    for (String fileExtension : fileExtensions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go

    	}
    	if o.Filenames != nil {
    		flags.StringSliceVarP(o.Filenames, "filename", "f", *o.Filenames, o.Usage)
    		annotations := make([]string, 0, len(resource.FileExtensions))
    		for _, ext := range resource.FileExtensions {
    			annotations = append(annotations, strings.TrimLeft(ext, "."))
    		}
    		flags.SetAnnotation("filename", cobra.BashCompFilenameExt, annotations)
    	}
    	if o.Kustomize != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompileOptions.java

            return fileExtensions;
        }
    
        /**
         * Sets the list of acceptable source file extensions. Only takes effect when compiling against
         * Groovy 1.7 or higher. Defaults to {@code ImmutableList.of("java", "groovy")}.
         */
        public void setFileExtensions(List<String> fileExtensions) {
            this.fileExtensions = fileExtensions;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.compile.GroovyCompileOptions.xml

                </tr>
                <tr>
                    <td>stubDir</td>
                    <td><literal>null</literal></td>
                </tr>
                <tr>
                    <td>fileExtensions</td>
                    <td><literal>["java", "groovy"]</literal></td>
                </tr>
                <tr>
                    <td>keepStubs</td>
                    <td><literal>false</literal></td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top