Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,193 for applyTo (1.34 sec)

  1. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy

        }
    
        def "has description"() {
            when:
            wtpPlugin.apply(project)
    
            then:
            wtpPlugin.lifecycleTask.get().description
            wtpPlugin.cleanTask.get().description
        }
    
        def "does not break when eclipse and eclipseWtp applied"() {
            expect:
            project.apply plugin: 'eclipse'
            project.apply plugin: 'eclipse-wtp'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 08 10:14:49 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy

                buildFile << """
                    apply plugin: 'swift-library'
                    apply plugin: 'xcode'
                """
                fixture.library.writeToProject(it)
            }
            def commit = repo.commit('initial commit')
    
            and:
            singleProjectBuild("app") {
                buildFile << """
                    apply plugin: 'swift-application'
                    apply plugin: 'xcode'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPluginTest.groovy

            project.pluginManager.apply(SwiftPackageManagerExportPlugin)
    
            project.pluginManager.apply("swift-application")
            lib1Project.pluginManager.apply("swift-library")
            lib2Project.pluginManager.apply("swift-library")
            lib3Project.pluginManager.apply("swift-library")
    
            project.application.sourceCompatibility = SwiftVersion.SWIFT3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaJavaLanguageSettingsIntegrationTest.groovy

    configure(project(':subprojectA')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.6'
    }
    
    configure(project(':subprojectB')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.7'
    }
    
    configure(project(':subprojectC')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.8'
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

            def build = file('build.gradle')
            build << """
    project(':impl') {
      apply plugin: 'java'
      apply plugin: 'war'
      apply plugin: 'eclipse-wtp'
    
      dependencies { implementation project(':contrib') }
    
      eclipse.project.name = 'cool-impl'
    }
    
    project(':contrib') {
      apply plugin: 'java'
      apply plugin: 'eclipse-wtp'
      //should not have war nor ear applied
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertFalse(isNumber.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_interface() {
        Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class);
    
        assertTrue(isComparable.apply(1));
        assertTrue(isComparable.apply(2.0f));
        assertTrue(isComparable.apply(""));
        assertFalse(isComparable.apply(null));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

    subprojects {
        apply plugin: 'java'
        apply plugin: 'eclipse'
    
        repositories {
            maven { url "${mavenRepo.uri}" }
        }
    }
    
    configure(project(":a")){
        dependencies {
            implementation 'someGroup:someOtherArtifact:1.0'
    
            implementation project(':b')
        }
    }
    
    configure(project(":b")){
        apply plugin: 'java-library'
        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

                customImlFolder {}
                excludeMePlease {}
                customModuleContentRoot {}
                src { main { java {} } }
            }
    
            //when
            runTask 'idea', '''
    apply plugin: "java"
    apply plugin: "idea"
    
    configurations {
      provided
      compileClasspath.extendsFrom(provided)
    }
    
    idea {
        pathVariables CUSTOM_VARIABLE: file('customModuleContentRoot').parentFile
    
        module {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            plugins.empty
    
            when:
            container.apply(pluginClass)
    
            then:
            plugins == []
        }
    
        def "calls apply on target for type only"() {
            when:
            container.apply(plugin1Class)
    
            then:
            1 * target.applyImperative(null, { plugin1Class.isInstance(it) })
        }
    
        def "calls apply on target for id"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

                        @Model
                        String string() { "foo" }
                    }
                }
    
                apply type: MyPlugin
                apply type: MyOtherPlugin
            """
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause("Failed to apply plugin class 'MyOtherPlugin'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top