Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 400 for sourceFile (0.19 sec)

  1. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

         *
         * @param source
         */
        void tryCompile(String source) {
            source = normalize(source)
            def sourceFile = temp.testDirectory.file("Sample.java")
            sourceFile.text = source
    
            def compiler = ("javax.tools.ToolProvider" as Class).getSystemJavaCompiler()
            def fileManager = compiler.getStandardFileManager(null, null, null);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MainWithXCTestSourceElement.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import org.gradle.integtests.fixtures.SourceFile;
    import org.gradle.test.fixtures.file.TestFile;
    
    import java.util.List;
    
    public abstract class MainWithXCTestSourceElement extends XCTestSourceElement {
        public MainWithXCTestSourceElement(String projectName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/readme-templates/library-api-docs.adoc.template

    The code generated by the Build Init plugin already placed a comment on the `${sourceFile.raw}` file.
    Replace `/*` in the comment by `/**` so that it becomes `javadoc` markup:
    
    .src/main/${languageLC.raw}/${sourceFile.raw}
    [source,java]
    ----
    /**
     * This java source file was generated by the Gradle 'init' task.
     */
     ...
    ----
    Run the `javadoc` task.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/CachingCSourceParser.java

                    return parser.parseSource(file);
                }
            }, IncludeDirectivesSerializer.INSTANCE);
        }
    
        @Override
        public IncludeDirectives parseSource(File sourceFile) {
            return cache.get(sourceFile);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFileTest.groovy

            filtersFile.addHeader(file("headerTwo"))
    
            then:
            assert sourceFile(0) == "sourceOne"
            assert sourceFile(1) == "sourceTwo"
    
            assert headerFile(0) == "headerOne"
            assert headerFile(1) == "headerTwo"
        }
    
        private String sourceFile(int index) {
            def source = itemGroup('Sources').ClCompile[index]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 27 17:02:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterFunctionUsesLogger.groovy

            header = ofFile(sourceFile(publicHeaderDir, "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    void sayGreeting();
    
    #ifdef __cplusplus
    }
    #endif
    """))
    
            privateHeader = ofFile(sourceFile("headers", "greeter_consts.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterFunctionUsesLoggerApi.groovy

            header = ofFile(sourceFile(publicHeaderDir, "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    """))
    
            privateHeader = ofFile(sourceFile("headers", "greeter_consts.h", """
    #define GREETING "${HelloWorldApp.HELLO_WORLD}"
    """))
    
            source = ofFile(sourceFile("cpp", "greeter.cpp", """
    #include <iostream>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
                }
            """
            def sourceFile = file("a/src/main/${language.name}/ToolImpl.${language.name}")
            sourceFile << """
                public class ToolImpl {
                    private class Thing { }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java

            }
        }
    
        @Nullable
        @Override
        public IncludeFile resolveInclude(@Nullable File sourceFile, String includePath) {
            IncludePath path = sourceFile != null ? prependSourceDir(sourceFile, this.includePath) : this.includePath;
            return path.searchForDependency(includePath, sourceFile != null);
        }
    
        private DirectoryContents toDir(File includeDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy

                    toolchain {
                        languageVersion = JavaLanguageVersion.of(${version.majorVersion})
                    }
                }
            """
    
            def sourceFile = file("src/main/java/Thing.java")
            sourceFile << """
                import java.util.List;
                import java.util.ArrayList;
    
                public class Thing {
                    public Thing() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top