Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 420 for javaVersion (0.22 sec)

  1. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginConvention.java

        public abstract void setSourceCompatibility(JavaVersion value);
    
        /**
         * Returns the target compatibility used for compiling Java sources.
         */
        public abstract JavaVersion getTargetCompatibility();
    
        /**
         * Sets the target compatibility used for compiling Java sources.
         *
         * @param value The value for the target compatibility as defined by {@link JavaVersion#toVersion(Object)}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.buildinit.plugins
    
    import org.gradle.api.JavaVersion
    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    import org.gradle.buildinit.plugins.internal.modifiers.BuildInitDsl
    import org.gradle.buildinit.plugins.internal.modifiers.BuildInitTestFramework
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
  3. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy

                    id 'java-library'
                    ${extraPlugins.collect { "id '$it'" }.join('\n')}
                }
    
                java {
                    sourceCompatibility = JavaVersion.VERSION_1_8
                    targetCompatibility = JavaVersion.VERSION_1_8
                }
    
                ${mavenCentralRepository()}
            """
        }
    
        def "multiple targets can be used"() {
            setupBasicTestingProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/CompilePrecompiledScriptPluginPlugins.kt

                        logger,
                    ) { it } // TODO: translate paths
            }
        }
    
        @Suppress("DEPRECATION")
        private
        fun resolveJvmTarget(): JavaVersion =
            if (jvmTarget.isPresent) jvmTarget.get()
            else JavaVersion.toVersion(javaLauncher.get().metadata.languageVersion.asInt())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.idea.model.IdeaProject.xml

                </tr>
                <tr>
                    <td>languageLevel</td>
                    <td><literal>JavaVersion.JAVA_1_6</literal></td>
                    <td><literal>project.sourceCompatibility</literal></td>
                </tr>
                <tr>
                    <td>targetBytecodeVersion</td>
                    <td><literal>JavaVersion.JAVA_1_6</literal></td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/eclipse/EclipseJavaSourceSettings.java

         */
        JavaVersion getSourceLanguageLevel();
    
        /**
         * Returns the target bytecode level.
         *
         * @return The target bytecode language version. Never returns {@code null}.
         * @throws UnsupportedMethodException For Gradle versions older than 2.11, where this method is not supported.
         * @since 2.11
         */
        JavaVersion getTargetBytecodeVersion() throws UnsupportedMethodException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/idea/IdeaJavaLanguageSettings.java

         */
        JavaVersion getLanguageLevel();
    
        /**
         * Returns the target bytecode level.
         *
         * @return The target bytecode language level, or {@code null} if this value should be inherited.
         * @throws UnsupportedMethodException For provider Gradle versions older than 2.11, where this method is not supported.
         */
        JavaVersion getTargetBytecodeVersion() throws UnsupportedMethodException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            return (begin..end).collect { it.toString() }
        }
    
        DaemonJvmCriteria createSpec(JavaLanguageVersion javaVersion, JvmVendorSpec vendor = DefaultJvmVendorSpec.any(), JvmImplementation implementation = JvmImplementation.VENDOR_SPECIFIC) {
            new DaemonJvmCriteria(javaVersion, vendor, implementation)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestJvmOptions.groovy

            }
            if (!JavaVersion.current().isJava8Compatible() && jvmOptions.count { it.startsWith('-XX:MaxPermSize=') } == 0) {
                jvmOptions << '-XX:MaxPermSize=256m'
            }
    
            return jvmOptions
        }
    
        static List<String> normalizeGradleJvmOptions(boolean useDaemon, List<String> originalJvmOptions) {
            if (!useDaemon && JavaVersion.current().isJava9Compatible()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:59:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinLibraryInitIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.buildinit.plugins
    
    import org.gradle.api.JavaVersion
    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    import org.gradle.test.fixtures.file.LeaksFileHandles
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top