Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for createRootProject (0.58 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpIntegrationTest.groovy

            classpath.lib('baz-1.0.jar').assertIsDeployedTo('/WEB-INF/lib')
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "included build"() {
            // given:
            createRootProject()
            createIncludedBuild()
    
            // when:
            def result = executer.withTasks("eclipse").run()
    
            // then:
            result.error == ""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

                val projectRegistry = service<ProjectStateRegistry>()
                projectRegistry.registerProjects(state, projectDescriptorRegistry)
                createRootProject()
            }
    
            private
            fun createRootProject() {
                val rootProject = createProject(rootProjectDescriptor())
                gradle.rootProject = rootProject
                gradle.defaultProject = rootProject
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/internal/DefaultCppTestSuiteTest.groovy

    @UsesNativeServices
    class DefaultCppTestSuiteTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def testSuite = project.objects.newInstance(DefaultCppTestSuite, "test")
    
        def "has display name"() {
            expect:
            testSuite.displayName.displayName == "C++ test suite 'test'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppApplicationTest.groovy

    @UsesNativeServices
    class DefaultCppApplicationTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def application = project.objects.newInstance(DefaultCppApplication, "main")
    
        def "has display name"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/WrapperPluginSpec.groovy

    @UsesNativeServices
    class WrapperPluginSpec extends Specification {
        @Rule
        public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(testDir.testDirectory)
    
        def "adds 'wrapper' task"() {
            when:
            project.pluginManager.apply WrapperPlugin
    
            then:
            project.tasks.wrapper instanceof Wrapper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftBinaryTest.groovy

    @UsesNativeServices
    class DefaultSwiftBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def implementation = Stub(ConfigurationInternal)
        def compile = Stub(Configuration)
        def link = Stub(Configuration)
        def runtime = Stub(Configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppBinaryTest.groovy

    @UsesNativeServices
    class DefaultCppBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def implementation = Stub(ConfigurationInternal)
        def headerDirs = Stub(FileCollection)
        def compile = Stub(Configuration)
        def link = Stub(Configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultNativeBinaryTest.groovy

    @UsesNativeServices
    class DefaultNativeBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        Configuration implementation = Stub(ConfigurationInternal)
    
        def "has implementation dependencies"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/tasks/LinkSharedLibraryTest.groovy

    import spock.lang.Specification
    
    class LinkSharedLibraryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def link = TestUtil.createRootProject(tmpDir.testDirectory).tasks.create("link", LinkSharedLibrary)
    
        def "has no default import library location when platform does not produce one"() {
            def toolChain = Stub(NativeToolChainInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestSuiteTest.groovy

    @UsesNativeServices
    class DefaultSwiftXCTestSuiteTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def testSuite = project.objects.newInstance(DefaultSwiftXCTestSuite, "test")
    
        def "has display name"() {
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top