Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 262 for srcDir (0.2 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

            succeeds "components"
            then:
            output.contains("""
    SampleLibrary 'sampleLib'
    -------------------------
    
    Source sets
        Library source 'sampleLib:librarySource'
            srcDir: src${File.separator}sampleLib${File.separator}librarySource
    
    Binaries
        SampleBinary 'sampleLib:binary'
            build using task: :sampleLibBinary
        OtherSampleBinary 'sampleLib:otherBinary'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild.kotlin-dsl-dependencies-embedded.gradle.kts

            kotlinDslPluginsVersion = publishedKotlinDslPluginVersion
        }
    
        val apiExtensionsFileCollection = files(apiExtensionsOutputDir).builtBy(generateKotlinDependencyExtensions)
    
        kotlinMainSourceSet.srcDir(apiExtensionsFileCollection)
    
        // Workaround for https://github.com/gradle/gradle/issues/24131
        // See gradlebuild.unittest-and-compile.gradle.kts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. okcurl/build.gradle.kts

      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(libs.kotlin.stdlib)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
      implementation(libs.clikt)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

            def sources = generatedCode.values().collect {
                new TestClassSource(it.className, it.generatedCode)
            }
            def srcDir = tmpDir.createDir("src")
            def dstDir = tmpDir.createDir("dst")
            SimpleGeneratedJavaClassCompiler.compile(srcDir, dstDir, sources, classPath)
            def cl = new URLClassLoader([dstDir.toURI().toURL()] as URL[], this.class.classLoader)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    	if str.HasFilePathPrefix(filepath.Clean(srcDir), filepath.Clean(parent)) {
    		return nil
    	}
    
    	// Look for symlinks before reporting error.
    	srcDir = expandPath(srcDir)
    	parent = expandPath(parent)
    	if str.HasFilePathPrefix(filepath.Clean(srcDir), filepath.Clean(parent)) {
    		return nil
    	}
    
    	// Vendor is present, and srcDir is outside parent's tree. Not allowed.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetCompileDependenciesIntegrationTest.groovy

                    cpp.lib library: 'lib1', linkage: 'api'
                }
                binaries.all {
                    sources {
                        other(CppSourceSet) {
                            source.srcDir "src/main/otherCpp"
                            lib library: 'lib2', linkage: 'api'
                        }
                    }
                }
            }
        }
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter_test.go

    		t.Logf("%s", out)
    		t.Fatalf("go tool compile %s failed: %s", filename, err)
    	}
    	return outname
    }
    
    func testPath(t *testing.T, path, srcDir string) *types.Package {
    	t0 := time.Now()
    	fset := token.NewFileSet()
    	pkg, err := Import(fset, make(map[string]*types.Package), path, srcDir, nil)
    	if err != nil {
    		t.Errorf("testPath(%s): %s", path, err)
    		return nil
    	}
    	t.Logf("testPath(%s): %v", path, time.Since(t0))
    	return pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testerrors/argposition_test.go

    	}
    
    	tmpPath := t.TempDir()
    
    	dir := filepath.Join(tmpPath, "src", "testpositions")
    	if err := os.MkdirAll(dir, 0755); err != nil {
    		t.Fatal(err)
    	}
    
    	cmd := exec.Command("go", "tool", "cgo",
    		"-srcdir", testdata,
    		"-objdir", dir,
    		"issue42580.go")
    	cmd.Stderr = new(bytes.Buffer)
    
    	err = cmd.Run()
    	if err != nil {
    		t.Fatalf("%s: %v\n%s", cmd, err, cmd.Stderr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/go/types/generate_test.go

    	"go/token"
    	"internal/diff"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    var filesToWrite = flag.String("write", "", `go/types files to generate, or "all" for all files`)
    
    const (
    	srcDir = "/src/cmd/compile/internal/types2/"
    	dstDir = "/src/go/types/"
    )
    
    // TestGenerate verifies that generated files in go/types match their types2
    // counterpart. If -write is set, this test actually writes the expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                }
            }
        }
    
        private
        fun zip(destZip: File, srcDir: File) {
            val srcPath = srcDir.toPath()
            Files.walk(srcPath).use { paths ->
                zip(destZip,
                    paths.filter { Files.isRegularFile(it, LinkOption.NOFOLLOW_LINKS) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top