Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,162 for applyTo (0.15 sec)

  1. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy

            file("unzip/TestProject-custom/someFile").assertIsFile()
        }
    
        def "can publish distribution"() {
            when:
            buildFile << """
                apply plugin:'distribution'
                apply plugin:'maven-publish'
                group = "org.acme"
                version = "1.0"
    
                distributions {
                    main {
                        contents {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryIntegrationTest.groovy

            class MySamplePlugin implements Plugin<Project> {
                void apply(final Project project) {}
    
                static class Rules extends RuleSource {
                    @ComponentType
                    void register(TypeBuilder<SampleBinary> builder) {
                    }
                }
            }
    
            apply plugin:MySamplePlugin
    
            model {
                tasks {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            ImmutableMap.Builder<K, V>::new,
            (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)),
            ImmutableMap.Builder::combine,
            ImmutableMap.Builder::buildOrThrow);
      }
    
      static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            ImmutableMap.Builder<K, V>::new,
            (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)),
            ImmutableMap.Builder::combine,
            ImmutableMap.Builder::buildOrThrow);
      }
    
      static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaMultiModuleIntegrationTest.groovy

            """
    
            def buildFile = file("build.gradle")
            buildFile << """
                allprojects {
                    apply plugin: 'java'
                    apply plugin: 'idea'
                }
    
                project(":library") {
                    apply plugin: 'java-library'
                    dependencies {
                        api project(":api")
                        implementation project(":impl")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.settings =
            Settings().apply {
              merge(mockResponse.settings)
            }
        }
    
        fun code(code: Int) =
          apply {
            this.code = code
          }
    
        /** Sets the status and returns this. */
        fun status(status: String) =
          apply {
            this.status = status
          }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/AlreadyOnClasspathPluginUseIntegrationTest.groovy

            when:
            succeeds "help"
    
            then:
            operations.hasOperation("Apply plugin my-plugin to root project 'root'")
            !operations.hasOperation("Apply plugin my-plugin to project ':a'")
            operations.hasOperation("Apply plugin my-plugin to project ':a:b'")
        }
    
        def "can request non-core plugin already requested on parent project but not applied"() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleSwiftProjectIntegrationTest.groovy

            """
            buildFile << """
                apply plugin: 'swift-application'
                apply plugin: 'xcode'
    
                dependencies {
                    implementation 'test:greeter:1.3'
                }
            """
    
            file("greeter/settings.gradle") << "rootProject.name = 'greeter'"
            file('greeter/build.gradle') << """
                apply plugin: 'swift-library'
                apply plugin: 'xcode'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            given:
            buildFile << """
                project(':app') {
                    apply plugin: 'swift-application'
                    dependencies {
                        implementation project(':greeter')
                    }
                }
                project(':greeter') {
                    apply plugin: 'swift-library'
                }
            """
            app.library.writeToProject(file("greeter"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

            given:
            executer.withEnvironmentVars('GRADLE_REPO_OVERRIDE': "$server.uri/")
    
            buildScript """
                apply plugin: "java"
                apply plugin: "idea"
                apply plugin: "eclipse"
    
                dependencies {
                    implementation gradleApi()
                }
    
                idea.module.downloadSources = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top