Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,162 for applyTo (0.21 sec)

  1. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            file("build", "publications", "ivyJava", "ivy.xml.asc").text
        }
    
        def "signs Gradle metadata"() {
            given:
            buildFile << """
                apply plugin: 'ivy-publish'
                apply plugin: 'maven-publish'
                ${keyInfo.addAsPropertiesScript()}
    
                publishing {
                    publications {
                        ivy(IvyPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

        def "can create xcode project for Swift application with xctest"() {
            requireSwiftToolChain()
    
            given:
            buildFile << """
                apply plugin: 'swift-application'
                apply plugin: 'xctest'
            """
    
            def app = new SwiftAppWithXCTest()
            app.writeToProject(testDirectory)
    
            when:
            succeeds("xcode")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                    println "apply defaults"
                  }
    
                  @Mutate void customPeople(ModelSet<Person> people) {
                    println "configure"
                  }
    
                  @Finalize void finalPeople(ModelSet<Person> people) {
                    println "finalize"
                  }
                }
    
                apply type: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy

                            t.getMap().set(map);
                        });
                    }
                }
            """
    
            buildFile << """
                apply plugin: SomeOtherPlugin
                apply plugin: SomePlugin
            """
    
            when:
            run("someTask")
    
            then:
            outputContains("flag = false")
            outputContains("message = some other value")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentPluginIntegrationTest.groovy

                    }
                }
    
                class MyComponentCreationPlugin implements Plugin<Project> {
                    void apply(final Project project) {
                        project.apply(plugin:MyComponentDeclarationModel)
                    }
    
                    static class Rules extends RuleSource {
                        @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

                    void applyMessages(@Path("tasks") ModelElement tasks) {
                        println "as model element: $tasks"
                        println "name: $tasks.name"
                    }
                }
    
                apply type: MyPlugin
            '''
    
            when:
            run()
    
            then:
            output.contains "as map: ModelMap<Task> 'tasks'"
            output.contains("as container:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

        @Managed interface OtherSampleBinary extends SampleBinary {}
        @Managed interface LibrarySourceSet extends LanguageSourceSet {}
    
        class MyBinaryDeclarationModel implements Plugin<Project> {
            void apply(final Project project) {}
    
            static class ComponentModel extends RuleSource {
                @ComponentType
                void registerLibrary(TypeBuilder<SampleLibrary> builder) {}
    
                @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerIncrementalExportIntegrationTest.groovy

            settingsFile << """
                include 'lib', 'app'
            """
            buildFile << """
                apply plugin: 'swiftpm-export'
                project(':lib') {
                    apply plugin: 'swift-library'
                }
                project(':app') {
                    apply plugin: 'swift-application'
                }
            """
    
            file("app/src/main/swift/main.swift") << "// main"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

    import org.gradle.language.base.LanguageSourceSet
    
    @UnsupportedWithConfigurationCache(because = "software model")
    class RuleSourceAppliedByRuleMethodIntegrationTest extends AbstractIntegrationSpec {
        def "@Rule method can apply rules to a particular target"() {
            buildFile << '''
                @Managed
                interface Thing {
                    String getName()
                    void setName(String name)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

            val sameContent = """println("Same script content on ${'$'}this")"""
            withMultiProjectBuild(left = sameContent, right = sameContent).apply {
    
                // when: first use
                buildForCacheInspection("help").apply {
                    compilationTrace(projectRoot) {
                        assertScriptCompile(settingsFile.stage1)
                        assertNoScriptCompile(settingsFile.stage2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top