Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,291 for applyTo (0.15 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

                    id("plugin-id").version("1.0").apply(true)
                    id("plugin-id").version("2.0") apply true
                    id("plugin-id") version "3.0".apply(true) // BUG!
                    id("plugin-id") version "4.0" apply true
    
                    id("plugin-id").apply(false).version("1.0")
                    id("plugin-id").apply(false) version "2.0"
                    id("plugin-id") apply false.version("3.0") // BUG!
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals(p1.apply(1.0f), p2.apply(1.0f));
        assertEquals(p1.apply(5.0f), p2.apply(5.0f));
      }
    
      public void testForPredicate() {
        Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue());
        Function<Object, Boolean> alwaysFalse = Functions.forPredicate(Predicates.alwaysFalse());
    
        assertTrue(alwaysTrue.apply(0));
        assertFalse(alwaysFalse.apply(0));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

            entryNotDeployed(classpath[1])
        }
    
        def "Root wtp dependencies and their transitives are deployed to '/'"() {
            given:
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'war'
               apply plugin: 'eclipse-wtp'
               repositories { $localMaven }
               dependencies { ${implementationConfiguration} 'org.example:example-lib:1.0' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top