Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for annotationProcessorPath (0.17 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

            file("build/generated/sources/annotationProcessor/java/main/AHelperResource.txt").exists()
    
            when:
            buildFile << "compileJava.options.annotationProcessorPath = files()"
            run "compileJava"
    
            then:
            !file("build/generated/sources/annotationProcessor/java/main/AHelper.java").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy

            file("build/generated/sources/annotationProcessor/java/main/ServiceRegistryResource.txt").exists()
    
            when:
            buildFile << "compileJava.options.annotationProcessorPath = files()"
            run "compileJava"
    
            then:
            !file("build/generated/sources/annotationProcessor/java/main/ServiceRegistry.java").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy

                }
    
                dependencies {
                    implementation 'org.foo:app-dep:1.0'
                }
    
                tasks.withType(JavaCompile) {
                    options.annotationProcessorPath = files()
                }
            """
            file("my-composite-app/settings.gradle") << "rootProject.name = 'my-composite-app'"
    
            settingsFile << """
            rootProject.name='root'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * Gradle will no longer automatically apply annotation processors that are on the compile classpath — use link:{groovyDslPath}/org.gradle.api.tasks.compile.CompileOptions.html#org.gradle.api.tasks.compile.CompileOptions:annotationProcessorPath[CompileOptions.annotationProcessorPath] instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            when:
            fails 'compileJava'
    
            then:
            failureHasCause("Cannot specify -processorpath or --processor-path via `CompileOptions.compilerArgs`. Use the `CompileOptions.annotationProcessorPath` property instead.")
        }
    
        def "fails when a -J (compiler JVM) flag is set on compilerArgs"() {
            buildFile << '''
                apply plugin: 'java'
    
                compileJava {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/java_plugin.adoc

    _Default value_: `${name}CompileClasspath` configuration
    +
    The classpath to use when compiling the source files of this source set.
    
    `annotationProcessorPath` — link:{javadocPath}/org/gradle/api/file/FileCollection.html[FileCollection]::
    _Default value_: `${name}AnnotationProcessor` configuration
    +
    The processor path to use when compiling the source files of this source set.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top