- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,543 for ApplyG (0.11 sec)
-
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/test/groovy/org/gradle/cache/internal/CacheRetainingDataFromPreviousBuildTest.groovy
def cache = newCache() cache.get("a", function) cache.get("b", function) cache.get("c", function) then: 1 * function.apply("a") >> new Object() 1 * function.apply("b") >> new Object() 1 * function.apply("c") >> new Object() 0 * function._ when: listenerManager.getBroadcaster(BuildSessionLifecycleListener).beforeComplete()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 11 20:23:28 UTC 2021 - 3.3K 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/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/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) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipsePluginTest.groovy
when: eclipsePlugin.apply(project) then: project.tasks.findByPath(':eclipseClasspath') == null assertThatCleanEclipseDependsOn(project, project.cleanEclipseProject) checkEclipseProjectTask([], []) } def applyToJavaProject_shouldOnlyHaveProjectAndClasspathTaskForJava() { when: eclipsePlugin.apply(project) project.apply(plugin: 'java-base')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 7.3K 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) -
test/typeparam/cons.go
type Function[a, b any] interface { Apply(x a) b } type incr struct{ n int } func (this incr) Apply(x int) int { return x + this.n } type pos struct{} func (this pos) Apply(x int) bool { return x > 0 } type compose[a, b, c any] struct { f Function[a, b] g Function[b, c] } func (this compose[a, b, c]) Apply(x a) c { return this.g.Apply(this.f.Apply(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 21 23:41:49 UTC 2022 - 2K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppExternalSourceDependenciesIntegrationTest.groovy
buildFile << """ apply plugin: 'cpp-library' apply plugin: 'xcode' """ fixture.greeter.writeToProject(it) } def commit = repo.commit('initial commit') and: singleProjectBuild("app") { buildFile << """ apply plugin: 'cpp-application' apply plugin: 'xcode'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 9.1K bytes - Viewed (0)