Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Auxclasspath (0.18 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginAuxclasspathIntegrationTest.groovy

            file("rule-using/build/reports/pmd/main.xml").
                assertContents(containsClass("org.gradle.ruleusing.Class1")).
                assertContents(containsText("auxclasspath configured"))
        }
    
        def "auxclasspath configured for test sourceset of rule-using project"() {
            Assume.assumeTrue(supportsAuxclasspath() && fileLockingIssuesSolved())
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

                parameters.ruleSetConfigFiles.each {
                    ruleset(it)
                }
    
                FileCollection auxClasspath = parameters.auxClasspath.filter(new FileExistFilter())
                if (!auxClasspath.isEmpty()) {
                    auxClasspath.addToAntBuilder(ant, 'auxclasspath', FileCollection.AntType.ResourceCollection)
                }
    
                reports.each { report ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdPlugin.java

     * <p>
     * Declares a <code>pmd</code> configuration which needs to be configured with the PMD library to be used.
     * <p>
     * Declares a <code>pmdAux</code> configuration to add transitive compileOnly dependencies to the PMD's auxclasspath. This is only needed if PMD complains about NoClassDefFoundError during type
     * resolution.
     * <p>
     * For each source set that is to be analyzed, a {@link Pmd} task is created and configured to analyze all Java code.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy

                task runExecOperationsJavaExec {
                    def runClasspath = sourceSets.main.runtimeClasspath
                    dependsOn runClasspath
                    def execOps = services.get(ExecOperations)
                    doLast {
                        // this is the same as project.javaexec
                        execOps.javaexec {
                            classpath = runClasspath
                            mainClass = "driver.Driver"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                }
    
                tasks.register("runWithExecOperations") {
                    dependsOn sourceSets.main.runtimeClasspath
                    def runExecutable = run.executable ? run.executable : null
                    def runClasspath = run.classpath
                    def runMain = run.mainClass
                    def runArgs = run.args
                    def execOps = services.get(ExecOperations)
                    doLast {
                        execOps.javaexec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

                dependencies {
                   implementation project(':utils')
                }
    
                task printRunClasspath {
                    def runClasspath = run.classpath
                    doLast {
                        println runClasspath.collect{ it.name }.join(',')
                    }
                }
    
            '''
            file('utils/build.gradle') << '''
                apply plugin: 'java-library'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top