- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for writeResources (0.2 sec)
-
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ExeWithLibraryUsingLibraryHelloWorldApp.groovy
import org.gradle.test.fixtures.file.TestFile class ExeWithLibraryUsingLibraryHelloWorldApp extends HelloWorldApp { void writeSources(TestFile mainSourceDir, TestFile librarySourceDir, TestFile greetingsLibrarySourceDir) { getExecutable().writeSources(mainSourceDir) getLibrary().writeSources(librarySourceDir) getGreetingsHeader().writeToDir(greetingsLibrarySourceDir) for (SourceFile sourceFile : greetingsSources) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy
@ToBeFixedForConfigurationCache def "executable with build type depends on library with matching build type"() { when: helloWorldApp.executable.writeSources(file("src/main")) helloWorldApp.library.writeSources(file("src/hello")) and: buildFile << """ apply plugin: 'cpp' model { buildTypes { debug release } components {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelIncrementalIntegrationTest.groovy
} } } """ } @ToBeFixedForConfigurationCache def "visual studio tasks re-execute when source files are added"() { app.writeSources(file("src/main")) when: run "visualStudio" then: executedAndNotSkipped ":appVisualStudioSolution" executedAndNotSkipped getComponentTasks("main") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy
buildable = false } } } } """ app.executable.writeSources(file("src/main")) app.library.writeSources(file("src/mainLib")) } String oppositeLibType(String libType) { return libType.toLowerCase() == "static" ? "shared" : "static" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/CommonToolchainCustomizationIntegTest.groovy
@ToBeFixedForConfigurationCache def "can add action to tool chain that modifies tool arguments prior to execution"() { when: helloWorldApp.executable.writeSources(file("src/main")) helloWorldApp.writeSources(file("src/main")) buildFile << """ apply plugin: 'cpp' model { toolChains { ${toolChain.id} { eachPlatform {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy
} """ writeBuildLogicPlugin() writeGreetTask "GreetTask", ORIGINAL_GREETING switch (kind) { case Kind.CHANGE_RESOURCE: writeResource "" break } } void applyChange() { switch (kind) { case Kind.CHANGE_SOURCE: writeGreetTask "GreetTask", CHANGED_GREETING
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/CommonToolChainIntegrationTest.groovy
} } } hello(NativeLibrarySpec) } } """ app.executable.writeSources(file("src/main")) app.library.writeSources(file("src/hello")) succeeds 'helloStaticLibrary' when: succeeds 'mainExe' then: executable('build/exe/main/main').exec().out == app.englishOutput
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCrossCompilationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/NativeToolChainDiscoveryIntegrationTest.groovy
${toolChain.platformSpecificToolChainConfiguration()} } } components { main(NativeExecutableSpec) } } """ and: helloWorldApp.writeSources(file("src/main")) when: run "mainExecutable" then: def mainExecutable = executable("build/exe/main/main") mainExecutable.assertExists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/VisualCppToolChainDiscoveryIntegrationTest.groovy
model { toolChains { ${toolChain.buildScriptConfig} } components { main(NativeExecutableSpec) } } """ helloWorldApp.executable.writeSources(file("src/main")) helloWorldApp.library.writeSources(file("src/main")) } def "tool chain is not available when visual studio install is not available"() { when: buildFile << """ model { toolChains {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0)