- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for myExtension (0.29 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java
* action.execute(options) * } * } * extensions.create("myExtension", MyExtension) * myExtension { * options { * optionsFile = layout.projectDirectory.file("options.properties") * } * } * </pre> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K 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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy
} def 'can use custom Extension'() { given: file('src/test/java/org/gradle/MyExtension.java') << ''' package org.gradle; import org.junit.jupiter.api.extension.*; public class MyExtension implements TestInstancePostProcessor { @Override public void postProcessTestInstance(Object testInstance, ExtensionContext context) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 12.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 39.6K 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)