- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for myExtension (0.24 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy
""" file("a/build.gradle") << """ plugins.apply(my.MyPlugin) myExtension.message = "the message" """ file("b/build.gradle") << """ plugins.apply(my.MyPlugin) def otherProject = project(':a') myExtension.message = otherProject.myExtension.message """ when: executer.withArguments(ENABLE_CLI, WARN_PROBLEMS_CLI_OPT)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
$builderContent def message = project.myExtension.message.get() return new MyModel(message) """) addBuilderRegisteringPluginImplementation(childBuildName, "MyModelBuilder", """ def model = project.extensions.create("myExtension", MyExtension) model.message = "It works from project \${project.identityPath}" """) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy
then: model2.size() == 2 fixture.assertStateLoaded() outputDoesNotContain("Callback before") when: buildFile << """ myExtension.message = "updated message for root" """ withIsolatedProjects() def model3 = runBuildAction(new FetchCustomModelForEachProject()) then: model3.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 32.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 12:27:37 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
and: fixture.assertStateLoaded() when: file("a/build.gradle") << """ myExtension.message = 'this is project a' """ file("b/build.gradle") << """ myExtension.message = 'this is project b' """ server.expect("configure-root") server.expectConcurrent("configure-a", "configure-b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy
model2[1].message == "It works from project :a" and: fixture.assertStateLoaded() outputDoesNotContain("creating model") when: buildFile << """ myExtension.message = 'this is the root project' """ executer.withArguments(ENABLE_CLI) def model3 = runBuildAction(new FetchCustomModelForEachProject()) then: model3.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy
model2.message == "It works from project :" and: fixture.assertStateLoaded() outputDoesNotContain("creating model") when: buildFile << """ myExtension.message = 'this is the root project' """ executer.withArguments(ENABLE_CLI) def model3 = fetchModel() then: model3.message == "this is the root project"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc
include::sample[dir="snippets/plugins/mappingExtensions/groovy",files="app/build.gradle[tags=snippet]"] ==== In this example, the `MyExtension` class defines an `inputParameter` property that can be set in the build script. The `MyPlugin` class configures this extension and uses its `inputParameter` value to configure the `MyCustomTask` task.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 29 02:31:44 UTC 2024 - 37.7K bytes - Viewed (0)