- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,818 for ApplyG (0.11 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy
CustomPlugin(WorkerExecutor executor) { } void apply(Project p) { } } apply plugin: CustomPlugin """ expect: fails() failure.assertHasCause("Failed to apply plugin class 'CustomPlugin'") failure.assertHasCause("Could not create plugin of type 'CustomPlugin'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 7.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy
} def "can apply a rule source by id"() { when: def project = buildProject() project.apply plugin: 'custom-rule-source' then: project.modelRegistry.realize("foo", String) == "bar" } def "can apply a rule source by type"() { when: def project = buildProject() project.apply type: CustomRuleSource then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 3.3K bytes - Viewed (0) -
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) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt
fun Response.Builder.commonRequest(request: Request) = apply { this.request = request } fun Response.Builder.commonProtocol(protocol: Protocol) = apply { this.protocol = protocol } fun Response.Builder.commonCode(code: Int) = apply { this.code = code } fun Response.Builder.commonMessage(message: String) = apply { this.message = message }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 5.2K bytes - Viewed (0) -
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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy
then: project.classpathContainers.isEmpty() } def "Project has some classpath containers"() { buildFile << """apply plugin: 'java' apply plugin: 'eclipse' eclipse { classpath { containers 'containerPath1', 'containerPath2' } } """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/jvm/war/src/integTest/groovy/org/gradle/integtests/MixedJavaAndWebProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 4.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy
} """ file("sub/build.gradle") << "apply from: 'script.gradle'" file("sub/script.gradle") << "someMethod()" when: run "help" then: output.contains("from some method") } @Issue("https://issues.gradle.org/browse/GRADLE-3082") def "can use apply block syntax to apply multiple scripts"() { given: buildScript """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/GroovyPluginImplementation.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/plugins/ApplyPluginBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:36 UTC 2024 - 6.2K bytes - Viewed (0)