Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 263 for rootProject (0.2 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaJavaLanguageSettingsIntegrationTest.groovy

        @Rule
        public final TestResources testResources = new TestResources(testDirectoryProvider)
    
        def setup() {
            createDirs("child1", "child2", "child3")
            settingsFile << """
    rootProject.name = 'root'
    include ':child1', ':child2', ':child3'
    """
        }
    
        @ToBeFixedForConfigurationCache
        void "global sourceCompatibility results in project language level"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IsolatedProjectsSafeIdeaModelBuilder.java

        private DefaultIdeaProject build(Project rootProject, IdeaModelParameter parameter) {
            // Currently, applying the plugin here is redundant due to `applyIdeaPluginToBuildTree`.
            // However, the latter should go away in the future, while the application here is inherent to the builder
            rootProject.getPluginManager().apply(IdeaPlugin.class);
            IdeaModel ideaModelExt = rootProject.getPlugins().getPlugin(IdeaPlugin.class).getModel();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:17:44 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishDependenciesIntegTest.groovy

        def repoModule = javaLibrary(mavenRepo.module('group', 'root', '1.0'))
    
        @Issue('GRADLE-1574')
        def "publishes wildcard exclusions for a non-transitive dependency"() {
            given:
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
                plugins {
                    id("java-library")
                    id("maven-publish")
                }
    
                group = 'group'
                version = '1.0'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 16:29:10 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

        }
    
        def 'rootProject listeners are attributed to the correct registrant'() {
            given:
            def addGradleListeners = { String source ->
                """
                    gradle.rootProject({
                        println "gradle.rootProject(Action) from $source"
                    } as Action)
                    gradle.rootProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

        def "always renders default tasks running #tasks"() {
            given:
            String projectName = 'test'
            settingsFile << "rootProject.name = '$projectName'"
    
            when:
            succeeds tasks
    
            then:
            output.contains("""
    Build Setup tasks
    -----------------
    init - Initializes a new Gradle build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

            TestFile relocatedSettingsFile = buildFilesDir.file("settings.gradle");
            relocatedSettingsFile.writelns(
                "includeFlat 'child'",
                "rootProject.projectDir = new File(settingsDir, '..')",
                "rootProject.buildFileName = 'root/build.gradle'"
            );
    
            TestFile rootBuildFile = buildFilesDir.file("build.gradle");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            file('build.gradle') << """
                ${defineUpdateTask('tar')}
                ${defineVerifyTask('tar')}
    
                def theArchive1 = rootProject.file('test1.tar')
                def theArchive2 = rootProject.file('test2.tar')
    
                tasks.register('update1', UpdateTask) {
                    archive = theArchive1
                    replacementText = 'modification 1'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            output.contains("Found all include files for ':compileDebugCpp'")
        }
    
        @ToBeFixedForConfigurationCache
        def "sources are compiled with C++ compiler"() {
            given:
            settingsFile << "rootProject.name = 'hello'"
            def lib = new CppLib()
            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'cpp-library'
             """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerDependencyMappingIntegrationTest.groovy

            lib1Repo.file("build.gradle") << """
                plugins {
                    id 'swift-library'
                    id 'swiftpm-export'
                }
            """
            lib1Repo.file("settings.gradle") << "rootProject.name = 'lib1'"
            lib1Repo.file("src/main/swift/Lib1.swift") << """
                public class Lib1 {
                    public class func thing() { }
                }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

        private val rootProject = CheckProject(model, gradleBuildBucketProvider)
    
        @Test
        fun configurationTreeCanBeGenerated() {
            assertEquals(rootProject.subProjects.size, model.stages.size)
            assertEquals(rootProject.buildTypes.size, model.stages.size + 1) // +1 for the GitHubMergeQueueCheckPass
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top