Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for libraryAppProjectWithIncrementalCompilation (0.35 sec)

  1. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/IncrementalCompileMultiProjectTestFixture.groovy

    import org.gradle.integtests.fixtures.CompiledLanguage
    import org.gradle.test.fixtures.file.TestFile
    
    @SelfType(AbstractIntegrationSpec)
    trait IncrementalCompileMultiProjectTestFixture {
        TestFile libraryAppProjectWithIncrementalCompilation(CompiledLanguage language = CompiledLanguage.JAVA) {
            multiProjectBuild('incremental', ['library', 'app'], language) {
                buildFile << """
                    subprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractIncrementalCompileIntegrationTest.groovy

        }
    
        def "task outcome is UP-TO-DATE when no recompilation necessary"() {
            given:
            libraryAppProjectWithIncrementalCompilation(language)
    
            when:
            succeeds getAppCompileTask(language)
    
            then:
            executedAndNotSkipped getAppCompileTask(language)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CachedJavaCompileIntegrationTest.groovy

                }
            """.stripIndent()
            }
        }
    
        def "up-to-date incremental compilation is cached if nothing to recompile"() {
            given:
            buildFile.text = ""
            libraryAppProjectWithIncrementalCompilation()
    
            when:
            withBuildCache().run appCompileTask
    
            then:
            executedAndNotSkipped appCompileTask
    
            when:
            writeUnusedLibraryClass()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top