Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cleanIdea (0.28 sec)

  1. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaPluginTest.groovy

            then:
            project.idea.module.excludeDirs == [project.buildDir, project.file('.gradle')] as Set
        }
    
        def "adds 'cleanIdea' task to projects"() {
            when:
            applyPluginToProjects()
    
            then:
            project.cleanIdea instanceof Task
            childProject.cleanIdea instanceof Task
        }
    
         def "adds single entry libraries from source sets"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/build.gradle

    defaultTasks 'idea', 'cleanIdea'
    
    allprojects {
        apply plugin: 'idea'
    }
    
    idea.project.jdkName = '1.6'
    idea.project.languageLevel = '1.6'
    
    subprojects {
        apply plugin: 'java-library'
    
        idea {
            module {
                downloadJavadoc = true
            }
        }
    
        repositories {
            mavenCentral()
        }
    
        dependencies {
            testImplementation 'junit:junit:4.7'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 669 bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/api/build.gradle

    dependencies {
        runtimeOnly 'commons-collections:commons-collections:3.2.2@jar'
    }
    
    cleanIdea.doLast {
        assert !file("api/api.iml").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 148 bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/webservice/build.gradle

    dependencies {
        providedCompile 'org.slf4j:slf4j-api:1.5.8@jar'
        api project(':api'), files("$projectDir/lib/compile-1.0.jar")
        runtimeOnly "commons-lang:commons-lang:2.4"
        runtimeOnly "commons-io:commons-io:1.2"
    }
    
    cleanIdea.doLast {
        assert !file("webservice/webservice.iml").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 342 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/idea_plugin.adoc

    ==== Disabling merging with a complete overwrite
    
    To completely rewrite existing IDEA files, execute a clean task together with its corresponding generation task, like “`gradle cleanIdea idea`” (in that order). If you want to make this the default behavior, add “`tasks.idea.dependsOn(cleanIdea)`” to your build script. This makes it unnecessary to execute the clean task explicitly.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaMultiModuleIntegrationTest.groovy

            assert getFile(project: 'shared/api', "shared-api.iml").exists()
            assert getFile(project: 'contrib', "cool-contrib.iml").exists()
    
            //when
            executer.withTasks("cleanIdea").run()
    
            //then
            assert !getFile(project: 'shared/api', "shared-api.iml").exists()
            assert !getFile(project: 'contrib', "cool-contrib.iml").exists()
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

            assertHasExpectedContents('root.iml')
            assertHasExpectedContents('api/api.iml')
            assertHasExpectedContents('webservice/webservice.iml')
    
            executer.withTasks('cleanIdea').run()
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void worksWithAnEmptyProject() {
            executer.withTasks('idea').run()
    
            assertHasExpectedContents('root.ipr')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top