- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,289 for applyTo (0.27 sec)
-
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) -
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/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) -
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/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/idea/IdeaModelBuilderTest.groovy
} def "explicit project language level does not affect module language level"() { given: project.plugins.apply(JavaPlugin) child1.plugins.apply(JavaPlugin) child2.plugins.apply(JavaPlugin) project.idea.project.languageLevel = '1.2' project.java.sourceCompatibility = '1.3' child1.java.sourceCompatibility = '1.4'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 09 11:38:46 UTC 2023 - 12.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaMultiModuleIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 19K bytes - Viewed (0)