Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clearImplProjectDependencies (0.19 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationSupport.groovy

                project(':$from') {
                    dependencies { api project(':$to') }
                }
            """
        }
    
        protected abstract boolean isUseJar()
    
        protected void clearImplProjectDependencies() {
            buildFile << """
                project(':impl') {
                    configurations.api.dependencies.clear() //so that api jar is no longer on classpath
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

            source api: ["class A {}"], impl: ["class SomeImpl {}"]
            impl.snapshot { run language.compileTaskName }
    
            when:
            clearImplProjectDependencies()
    
            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled()
        }
    
        def "deletion of jar with dependents causes compilation failure"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top