Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 759 for applyTo (0.2 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaProjectOutgoingVariantsIntegrationTest.groovy

    allprojects {
        repositories { maven { url '${mavenRepo.uri}' } }
    }
    
    project(':other-java') {
        apply plugin: 'java'
        java {
            withJavadocJar()
            withSourcesJar()
        }
    }
    
    project(':java') {
        apply plugin: 'java'
        java {
            withJavadocJar()
            withSourcesJar()
        }
        dependencies {
            implementation project(':other-java')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    		VersionedParams(&opts, scheme.ParameterCodec).
    		Body(data).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // Apply takes the given apply declarative configuration, applies it and returns the applied customResourceDefinition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt

            }
    
        protected
        fun newFile(fileName: String): File {
            return canonicalFile(fileName).apply {
                parentFile.mkdirs()
                createNewFile()
            }
        }
    
        protected
        fun newDir(relativePath: String): File =
            existing(relativePath).apply { assert(mkdirs()) }
    
        protected
        fun newOrExisting(fileName: String) =
            existing(fileName).let {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 16:44:39 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                'init.gradle'('''
                    // init script
                    apply from: 'common.gradle'
                ''')
                'settings.gradle'('''
                    // settings script
                    apply from: 'common.gradle'
                ''')
                'build.gradle'('''
                    // build script
                    apply from: 'common.gradle'
                ''')
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

        }
    
        def 'DeprecatedPlugin from applied script - #scenario'() {
            given:
            file("project.gradle") << """
                apply plugin:  DeprecatedPlugin // line 2
            """.stripIndent()
    
            buildFile << """
                allprojects {
                    apply from: 'project.gradle' // line 2
                }
            """.stripIndent()
    
            when:
            if (withFullStacktrace) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		VersionedParams(&opts, scheme.ParameterCodec).
    		Body(data).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // Apply takes the given apply declarative configuration, applies it and returns the applied customResourceDefinition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/java/JavaApplicationOutgoingVariantsIntegrationTest.groovy

    def artifactType = Attribute.of('artifactType', String)
    
    allprojects {
        repositories { maven { url '${mavenRepo.uri}' } }
    }
    
    project(':other-java') {
        apply plugin: 'java-library'
    }
    
    project(':java') {
        apply plugin: 'application'
        dependencies {
            implementation project(':other-java')
            implementation files('file-dep.jar')
            compileOnly 'test:compile-only:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

            def localCache = new TestBuildCache(file("local-cache"))
            settingsFile << localCache.localCacheConfiguration()
    
            when:
            buildFile << cacheableTask() << """
                apply plugin: "base"
                tasks.create("t", CustomTask).paths << "out1" << "out2"
            """
    
            succeeds("t")
    
            then:
            operations.none(BuildCacheRemoteLoadBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         */
        fun maxAge(maxAge: Duration) =
          apply {
            val maxAgeSeconds = maxAge.inWholeSeconds
            require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" }
            this.maxAgeSeconds = maxAgeSeconds.commonClampToInt()
          }
    
        fun maxStale(maxStale: Duration) =
          apply {
            val maxStaleSeconds = maxStale.inWholeSeconds
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy

            file('a/build.gradle') << '''
                apply plugin: 'java-library'
    
                dependencies {
                    api project(':b')
                    implementation project(':c')
                }
            '''
            ['b', 'c'].each {
                file("${it}/build.gradle") << """
                    apply plugin: 'java-library'
                """
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top