Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for fileExtensions (0.29 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy

            assertFalse(compileOptions.listFiles)
            assertFalse(compileOptions.verbose)
            assertTrue(compileOptions.fork)
            assertEquals(['java', 'groovy'], compileOptions.fileExtensions)
            assertEquals('UTF-8', compileOptions.encoding)
            assertNotNull(compileOptions.forkOptions)
            assertNull(compileOptions.configurationScript)
            assertFalse(compileOptions.javaAnnotationProcessing)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/analyze/analyze.go

    	selectedNamespace string
    	allNamespaces     bool
    	suppress          []string
    	analysisTimeout   time.Duration
    	recursive         bool
    	ignoreUnknown     bool
    	revisionSpecified string
    
    	fileExtensions = []string{".json", ".yaml", ".yml"}
    )
    
    // Analyze command
    func Analyze(ctx cli.Context) *cobra.Command {
    	var verbose bool
    	analysisCmd := &cobra.Command{
    		Use:   "analyze <file>...",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate.go

    	validFields = map[string]struct{}{
    		"apiVersion": {},
    		"kind":       {},
    		"metadata":   {},
    		"spec":       {},
    		"status":     {},
    	}
    
    	serviceProtocolUDP = "UDP"
    
    	fileExtensions = []string{".json", ".yaml", ".yml"}
    )
    
    type validator struct{}
    
    func checkFields(un *unstructured.Unstructured) error {
    	var errs error
    	for key := range un.Object {
    		if _, ok := validFields[key]; !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 17:58:52 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top