Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for TargetJdk (0.15 sec)

  1. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdActionParameters.java

    import org.gradle.api.plugins.quality.TargetJdk;
    import org.gradle.api.provider.ListProperty;
    import org.gradle.api.provider.Property;
    
    /**
     * Parameters used to configure a {@link PmdAction}.
     */
    public interface PmdActionParameters extends AntWorkParameters {
    
        ConfigurableFileCollection getPmdClasspath();
    
        Property<TargetJdk> getTargetJdk();
    
        ListProperty<String> getRuleSets();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginToolchainsIntegrationTest.groovy

                    pmdClasspath = pmdFileCollection
                    ruleSetFiles = files()
                    ruleSets = ["category/java/errorprone.xml"]
                    rulesMinimumPriority = 5
                    targetJdk = TargetJdk.VERSION_1_4
                    threads = 1
                    incrementalAnalysis = false
                }
            """
    
            when:
            succeeds("myPmd")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 07:47:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.quality.PmdExtension.xml

                </tr>
                <tr>
                    <td>ruleSetFiles</td>
                    <td><literal>[]</literal></td>
                </tr>
                <tr>
                    <td>targetJdk</td>
                    <td><literal>project.sourceCompatibility</literal></td>
                </tr>
                <tr>
                    <td>ignoreFailures</td>
                    <td><literal>false</literal></td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileToolchainIntegrationTest.groovy

            }
            if (withJavaExtension != null) {
                configureJavaPluginToolchainVersion(selectJdk(withJavaExtension))
            }
    
            def targetJdk = selectJdk(target)
            def groovyTarget = GroovyCoverage.getEffectiveTarget(versionNumber, targetJdk.javaVersion)
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileGroovy", "--info")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:37:16 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            }
    
            def targetJdk = selectJdk(target)
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileJava", "--info")
    
            then:
            executedAndNotSkipped(":compileJava")
            outputContains("Compiling with toolchain '${targetJdk.javaHome.absolutePath}'")
            classJavaVersion(javaClassFile("Foo.class")) == targetJdk.javaVersion
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

            }
    
            def targetJdk = selectJdk(target)
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileScala", "--info")
    
            then:
            executedAndNotSkipped(":compileScala")
            outputContains("Compiling with Zinc Scala compiler")
    
            JavaVersion.forClass(scalaClassFile("JavaThing.class").bytes) == targetJdk.javaVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

                // http://sourceforge.net/p/pmd/bugs/1004/
                // http://java-pmd.30631.n5.nabble.com/pmd-pmd-db05bc-pmd-AntTask-support-for-language-td5710041.html
                antPmdArgs["targetjdk"] = parameters.targetJdk.get().name
    
                htmlFormat = "betterhtml"
    
                // fallback to basic on pre 5.0 for backwards compatible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

                testing.suites.test.useJUnit()
    
                pmd {
                    toolVersion = '$version'
                    // Set target JDK for PMD <5.x tests, so the test code is accepted
                    targetJdk = TargetJdk.VERSION_1_7
                    ${supportIncrementalAnalysis() ? "" : "incrementalAnalysis = false"}
                }
    
                ${fileLockingIssuesSolved() ? "" : """
                tasks.withType(Pmd) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                }
    
                def requestedGradleVersion = project.findProperty("gradleVersion")
                def requestedTargetJdk = project.findProperty("targetJdk")
    
                // Earlier versions of Gradle can sometimes fail to connect to the just started Gradle daemon.
                // The failure will be the "tried to connect to 100 daemons" error
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. okhttp-android/build.gradle.kts

        buildFeatures {
          buildConfig = false
        }
    
        testOptions {
          unitTests {
            isIncludeAndroidResources = true
          }
    
          targetSdk = 34
        }
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top