Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for writeResources (0.29 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

        def "visual studio solution does not reference the components of a project if it does not have visual studio plugin applied"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/hello"))
            app.library.writeSources(file("other/src/greeting"))
    
            createDirs("exe", "lib", "other")
            settingsFile << """
                include ':exe', ':lib', ':other'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

        def "visual studio solution does not reference the components of a project if it does not have visual studio plugin applied"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/main"))
            app.library.writeSources(file("other/src/main"))
    
            createDirs("exe", "lib", "other")
            settingsFile << """
                include ':exe', ':lib', ':other'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. 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)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

            mainSolution.assertHasProjects("app")
        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution for single executable"() {
            when:
            app.writeSources(file("src/main"))
            settingsFile << """
                rootProject.name = 'app'
            """
            buildFile << """
                apply plugin: 'cpp-application'
    
                application {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCrossCompilationIntegrationTest.groovy

                    lib library: 'hello', linkage: 'static'
                }
            }
            hello(NativeLibrarySpec)
        }
    }
    """
    
            helloWorldApp.executable.writeSources(file("src/main"))
            helloWorldApp.library.writeSources(file("src/hello"))
        }
    
        @ToBeFixedForConfigurationCache
        def "uses naming scheme of target platform when cross-compiling"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. 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)
Back to top