Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TargetJdk (0.14 sec)

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

            conventionMappingOf(extension).map("targetJdk", () ->
                getDefaultTargetJdk(getJavaPluginExtension().getSourceCompatibility()));
            return extension;
        }
    
        public TargetJdk getDefaultTargetJdk(JavaVersion javaVersion) {
            try {
                return TargetJdk.toVersion(javaVersion.toString());
            } catch (IllegalArgumentException ignored) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            1.3                 | TargetJdk.VERSION_1_3
            1.4                 | TargetJdk.VERSION_1_4
            1.5                 | TargetJdk.VERSION_1_5
            1.6                 | TargetJdk.VERSION_1_6
            1.7                 | TargetJdk.VERSION_1_7
            // 1.4 is the default in the pmd plugin so we use it as a default too
            1.8                 | TargetJdk.VERSION_1_4
            1.1                 | TargetJdk.VERSION_1_4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Pmd.java

        }
    
        /**
         * The target JDK to use with PMD.
         */
        @Input
        public TargetJdk getTargetJdk() {
            return targetJdk;
        }
    
        /**
         * The target JDK to use with PMD.
         */
        public void setTargetJdk(TargetJdk targetJdk) {
            this.targetJdk = targetJdk;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 13.3K 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/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)
  8. 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)
Back to top