- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for writeToDir (0.27 sec)
-
platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/integtests/fixtures/jvm/JvmSourceFile.java
} public JvmSourceFile getClassFile() { return new JvmSourceFile(path, name.replaceAll("(\\.java|\\.scala)", ".class"), null); } public TestFile writeToDir(TestFile base) { TestFile file = base.file(path, name); writeToFile(file); return file; } public void writeToFile(TestFile file) { if (file.exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SourceElement.java
*/ public void writeToProject(TestFile projectDir) { TestFile srcDir = projectDir.file("src/" + getSourceSetName()); for (SourceFile sourceFile : getFiles()) { sourceFile.writeToDir(srcDir); } } /** * Writes the source files of this element to the given source directory. */ public void writeToSourceDir(TestFile sourceDir) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy
} @ToBeFixedForConfigurationCache def "can manually define C++ source sets"() { given: helloWorldApp.library.headerFiles.each { it.writeToDir(file("src/shared")) } file("src/main/cpp/main.cpp") << helloWorldApp.mainSource.content file("src/main/cpp2/hello.cpp") << helloWorldApp.librarySources[0].content
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy
} @ToBeFixedForConfigurationCache def "can manually define C source sets"() { given: helloWorldApp.library.headerFiles.each { it.writeToDir(file("src/shared")) } file("src/main/c/main.c") << helloWorldApp.mainSource.content file("src/main/c2/hello.c") << helloWorldApp.librarySources[0].content
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.7K bytes - Viewed (0)