Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for annotationProcessor (0.26 sec)

  1. platforms/documentation/docs/src/snippets/java/apt/kotlin/build.gradle.kts

    }
    
    repositories {
        mavenCentral()
    }
    
    // tag::annotation-processing[]
    dependencies {
        // The dagger compiler and its transitive dependencies will only be found on annotation processing classpath
        annotationProcessor("com.google.dagger:dagger-compiler:2.44")
    
        // And we still need the Dagger library on the compile classpath itself
        implementation("com.google.dagger:dagger:2.44")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 448 bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/jvm/JvmComponentDependencies.java

     *     <li><code>runtimeOnly</code> dependencies are not available at compilation and are used only at runtime.</li>
     *     <li><code>annotationProcessor</code> dependencies are used only at compilation for the annotation processor classpath</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 18:56:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingSingleFilePerProject/groovy/build.gradle

    configurations {
        compileClasspath {
            resolutionStrategy.activateDependencyLocking()
        }
    // end::locking-single[]
        runtimeClasspath {
            resolutionStrategy.activateDependencyLocking()
        }
        annotationProcessor {
            resolutionStrategy.activateDependencyLocking()
        }
    // tag::locking-single[]
    }
    // end::locking-single[]
    
    dependencies {
        implementation 'org.springframework:spring-beans:[5.0,6.0)'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 882 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.compile.CompileOptions.xml

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            buildFile << annotationProcessorDependency(annotationProcessorPublisher.repoDir, annotationProcessorPublisher.dependencyCoordinates)
            buildFile << """
                configurations.annotationProcessor.extendsFrom configurations.compileOnly
            """
            file('src/main/scala/MyClass.java') << javaClassWithCustomAnnotation()
    
            succeeds 'compileScala'
    
            then:
            skipped(':compileJava')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/java/incrementalAnnotationProcessing/groovy/user/build.gradle

    plugins {
        id "java"
    }
    
    dependencies {
        compileOnly project(":library")
        annotationProcessor project(":processor")
    }
    
    compileJava {
        options.incremental = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 174 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java/apt/groovy/build.gradle

    }
    
    repositories {
        mavenCentral()
    }
    
    // tag::annotation-processing[]
    dependencies {
        // The dagger compiler and its transitive dependencies will only be found on annotation processing classpath
        annotationProcessor 'com.google.dagger:dagger-compiler:2.44'
    
        // And we still need the Dagger library on the compile classpath itself
        implementation 'com.google.dagger:dagger:2.44'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 451 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingSingleFilePerProject/kotlin/gradle.lockfile

    org.springframework:spring-core:5.0.5.RELEASE=compileClasspath, runtimeClasspath
    org.springframework:spring-jcl:5.0.5.RELEASE=compileClasspath, runtimeClasspath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 437 bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/UnknownIncrementalAnnotationProcessingIntegrationTest.groovy

            then:
            file("build/generated/sources/annotationProcessor/java/main/AThing.java").exists()
    
            when:
            buildFile << "compileJava.options.annotationProcessorPath = files()"
            run "compileJava", "--info"
    
            then:
            !file("build/generated/sources/annotationProcessor/java/main/AThing.java").exists()
    
            and:
            outputs.deletedClasses("AThing")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/test-suite-configure-suite-dependencies/kotlin/build.gradle.kts

                    // Note that this is equivalent to adding dependencies to testImplementation in the top-level dependencies block
                    implementation("org.assertj:assertj-core:3.21.0") // <2>
                    annotationProcessor("com.google.auto.value:auto-value:1.9") // <3>
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top