Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,521 for applyTo (0.2 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

    project(':projectA') {
        apply plugin: 'cpp'
        model {
            components {
                main(NativeExecutableSpec) {
                    sources {
                        cpp.lib project: ':projectB', library: 'hello', linkage: 'api'
                    }
                }
            }
        }
    }
            """
    
            file("projectB/build.gradle") << """
    apply plugin: 'cpp'
    
    model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. cluster/addons/calico-policy-controller/globalnetworkpolicy-crd.yaml

                                the rule to only apply to traffic that originates from
                                (or terminates at) a pod running as a matching service
                                account.
                              properties:
                                names:
                                  description: Names is an optional field that restricts
                                    the rule to only apply to traffic that originates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 45.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

            given:
            def app = new CHelloWorldApp()
            app.writeSources(file("src/input"))
            degenerateInputSources()
    
            and:
            buildFile << """
    apply plugin: 'visual-studio'
    apply plugin: 'c'
    
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    c.generatedBy tasks.generateCSources
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. cluster/addons/calico-policy-controller/networkpolicies-crd.yaml

                                the rule to only apply to traffic that originates from
                                (or terminates at) a pod running as a matching service
                                account.
                              properties:
                                names:
                                  description: Names is an optional field that restricts
                                    the rule to only apply to traffic that originates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 44.2K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderTest.groovy

            given:
            def modelBuilder = createEclipseModelBuilder()
            child1.plugins.apply(JavaPlugin)
            child1.plugins.apply(EclipsePlugin)
            child1.eclipse.jdt."$compatibilityProperty" = "1.2"
            child2.plugins.apply(JavaPlugin)
            child2.plugins.apply(EclipsePlugin)
            child2.java."$compatibilityProperty" = "1.3"
            child2.eclipse.jdt."$compatibilityProperty" = "1.1"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

                    "id('noop').version('bar')\nid('java')",
                    "id 'noop' apply false",
                    "id('noop').apply(false)",
                    "id('noop').apply(false);id('java')",
                    "id 'noop' version 'bar' apply false",
                    "id('noop').version('bar').apply(false)",
            ]
        }
    
        def "illegal value in plugins block - #code"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can publish the binaries of an application to a Maven repository"() {
            def app = new CppApp()
    
            given:
            buildFile << """
                apply plugin: 'cpp-application'
                apply plugin: 'maven-publish'
    
                group = 'some.group'
                version = '1.2'
                application {
                    baseName = 'test'
                }
                publishing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            when:
            project.pluginManager.apply(CppLibraryPlugin)
            project.pluginManager.apply(MavenPublishPlugin)
            project.evaluate()
    
            then:
            def zip = project.tasks.cppHeaders
            zip instanceof Zip
        }
    
        def "adds publications when maven-publish plugin is applied"() {
            when:
            project.pluginManager.apply(CppLibraryPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

          <mirrorOf>*</mirrorOf>
        </mirror>
      </mirrors>
    </settings>
    """
    
            and:
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
    apply plugin: 'java'
    apply plugin: 'maven-publish'
    group = 'group'
    version = '1.0'
    
    publishing {
        repositories {
            maven { url "${mavenRepo.uri}" }
        }
        publications {
            maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

      }
    }
    // Apply the plugin defined in the buildscript block
    plugins {
      id("org.barfuin.gradle.taskinfo") version "2.1.0"
    }
    ----
    
    |<<sec:script_plugins,4>>
    |Apply a *local* script plugins.
    |<<sec:script_plugins,The legacy `apply()` method in the build file>>
    a|
    [source,kotlin]
    ----
    apply(plugin = "org.barfuin.gradle.taskinfo")
    apply<MyPlugin>()
    ----
    |===
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top