Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 780 for applyTo (0.11 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy

                include("a")
                include("b")
                include("c")
            """
            file("build.gradle") << """
                project(":a") {
                    plugins.apply(my.MyPlugin)
                }
                project(":b") {
                    plugins.apply(my.MyPlugin)
                }
            """
            file("a/build.gradle") << """
                myExtension.message = "project a"
            """
            file("b/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            settingsFile << 'include "b"'
            file("b/build.gradle") << '''
                apply plugin: 'java'
            '''
            file("b/src/main/java/λ.java") << 'public class λ {}'
    
            buildFile << '''
                apply plugin: 'java'
    
                dependencies {
                   implementation project(':b')
                }
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

                public class SomePlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        Object returned = $method;
                        System.out.println("returned = " + returned);
                    }
                }
            """
    
            buildScript("""
                apply plugin: SomePlugin
            """)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/common.go

    	// These are used by preflight.RunPullImagesCheck() when running 'apply'.
    	if upgradeApply {
    		initCfg.NodeRegistration.ImagePullPolicy = upgradeCfg.Apply.ImagePullPolicy
    		initCfg.NodeRegistration.ImagePullSerial = upgradeCfg.Apply.ImagePullSerial
    	}
    
    	newK8sVersion := upgradeCfg.Plan.KubernetesVersion
    	if upgradeApply {
    		newK8sVersion = upgradeCfg.Apply.KubernetesVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/api/standalone/StandaloneAnalysisAPISessionBuilder.kt

            kotlinCoreProjectEnvironment.environment.application.apply {
                registerService(serviceInterface, serviceImplementation)
            }
        }
    
        public fun <T : Any> registerApplicationService(serviceImplementation: Class<T>) {
            kotlinCoreProjectEnvironment.environment.application.apply {
                registerService(serviceImplementation)
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy

            settingsFile << """
                include("a")
                include("b")
            """
            buildFile << """
                plugins.apply(my.MyPlugin)
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    		obj.Node.ImagePullSerial = ptr.To(true)
    	}
    
    	if obj.Apply.EtcdUpgrade == nil {
    		obj.Apply.EtcdUpgrade = ptr.To(true)
    	}
    	if obj.Apply.CertificateRenewal == nil {
    		obj.Apply.CertificateRenewal = ptr.To(true)
    	}
    	if len(obj.Apply.ImagePullPolicy) == 0 {
    		obj.Apply.ImagePullPolicy = DefaultImagePullPolicy
    	}
    	if obj.Apply.ImagePullSerial == nil {
    		obj.Apply.ImagePullSerial = ptr.To(true)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

    import org.gradle.api.Project
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    
    /**
     * A set of helpers to generate a Groovy plugin with provided code in buildSrc and apply it to the project under test.
     * The trait is intended to be mixed into something that extends {@link org.gradle.integtests.fixtures.AbstractIntegrationSpec}.
     */
    trait DynamicGroovyPluginMixin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

                val kotlinVersion = "1.9.20"
    
                id("org.jetbrains.kotlin.jvm") version kotlinVersion
                id("org.jetbrains.kotlin.kapt") version kotlinVersion apply false
                val java = id("java")
                val app = id("application")
                app.apply(java.apply)
            }
            """.trimIndent()
        )
        printResolutionResults(result)
    
        printResolvedAssignments(result)
    }
    
    
    class Tests {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryOutputCrossVersionSpec.groovy

        }
    
        def "Source directory has output specified"() {
            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top