- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for createRootProject (0.32 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy
} def "one thread can access state at a time"() { given: def build = build("p1") def project = project("p1") createRootProject() def state = registry.stateFor(projectId("p1")) createProject(state, project) when: async { workerThread { assert !state.hasMutableState()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 24.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy
return builder(temporaryFolder.testDirectory) } ProjectInternal rootProject() { createRootProject(rootDir, userHomeDir) } static ProjectInternal createRootProject(File rootDir, File userHomeDir = null) { def builder = ProjectBuilder .builder() .withProjectDir(rootDir) .withName("test-project")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 13.2K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy
def setup() { registry = project.modelRegistry project.pluginManager.apply(NativeComponentModelPlugin) } def "can apply plugin by id"() { given: def project = TestUtil.createRootProject(null) project.apply plugin: 'native-component-model' expect: project.plugins.hasPlugin(NativeComponentModelPlugin) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:55 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy
it.add(AttributeDesugaring, new AttributeDesugaring(AttributeTestUtil.attributesFactory())) it.add(DefaultDependencyCoordinateResolverFactory) it.add(Project, TestUtil.createRootProject(testDirectoryProvider.testDirectory)) }.get(ObjectFactory) def versionMappingStrategy = Mock(VersionMappingStrategyInternal) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:33:41 UTC 2023 - 24.8K bytes - Viewed (0)