Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createRootProject (0.27 sec)

  1. 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)
  2. 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)
Back to top