Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sourceFilePath (0.23 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/fixtures/StaleOutputJavaProject.groovy

        }
    
        private TestFile writeJavaSourceFile(String className) {
            String sourceFilePath = "src/main/java/${className}.java"
            sourceFilePath = prependRootDirName(sourceFilePath)
            def sourceFile = testDir.file(sourceFilePath)
            sourceFile << "public class $className {}"
            sourceFile
        }
    
        private TestFile determineClassFile(File sourceFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

        TestFile file(String path) {
            projectDir.file(path)
        }
    
        TestFile groovy(String path) {
            file("src/main/groovy/${sourceFilePath(path)}")
        }
    
        TestFile java(String path) {
            file("src/main/java/${sourceFilePath(path)}")
        }
    
        private String sourceFilePath(String path) {
            packageName ? "${packageName.replaceAll("\\.", "/")}/$path" : path
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/PluginClasspathLeakIntegrationTest.groovy

        }
    
        private static void addPluginSource(TestFile pluginProjectDir, String code) {
            def packageName = "org.gradle.test"
            def sourceFilePath = "${packageName.replaceAll("\\.", "/")}/${"TestPlugin"}.groovy"
            pluginProjectDir.file("src/main/groovy/${sourceFilePath}") << """
                ${packageName ? "package $packageName" : ""}
    
                class TestPlugin implements $Plugin.name<$Project.name> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 09:47:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top