Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 426 for javaVersion (0.21 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FileSystemServices.java

        }
    
        @Provides
        Symlink createWindowsJdkSymlink() {
            if (JavaVersion.current().isJava7Compatible()) {
                return new WindowsJdk7Symlink();
            } else {
                return new WindowsSymlink();
            }
        }
    
        @Provides
        Symlink createJdkSymlink(TemporaryFileProvider temporaryFileProvider) {
            if (JavaVersion.current().isJava7Compatible()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/type/ModelTypesTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.type
    
    import org.gradle.api.JavaVersion
    import spock.lang.Specification
    
    class ModelTypesTest extends Specification {
        def "collects type hierarchy of #types.simpleName to #closed.simpleName"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/EclipseJavaVersionMapper.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.plugins.ide.eclipse.model.internal;
    
    import org.gradle.api.JavaVersion;
    
    /**
     * Utility class for saving Java versions in Eclipse descriptors.
     */
    public class EclipseJavaVersionMapper {
    
        private EclipseJavaVersionMapper() {
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPlugins.kt

        class Target(override val project: Project) : PrecompiledScriptPluginsSupport.Target {
    
            override val jvmTarget: Provider<JavaVersion> =
                DeprecationLogger.whileDisabled(Factory {
                    @Suppress("DEPRECATION")
                    project.kotlinDslPluginOptions.jvmTarget.map { JavaVersion.toVersion(it) }
                })!!
    
            override val kotlinSourceDirectorySet: SourceDirectorySet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcCompilationClasspathIntegrationTest.groovy

        private final static String UNSUPPORTED_COMPILATION_CLASSPATH_VERSION = '0.26.0'
    
        private static String supportedCompilationClasspathVersion() {
            if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) {
                return "1.6"
            }
            return MIN_SUPPORTED_COMPILATION_CLASSPATH_VERSION
        }
    
        def "compilation classpath can be specified for a CodeNarc task"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/PrecompiledScriptPluginsSupport.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.provider
    
    import org.gradle.api.JavaVersion
    import org.gradle.api.Project
    import org.gradle.api.file.SourceDirectorySet
    import org.gradle.api.provider.Provider
    
    import java.io.File
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java

            });
        }
    
        private static JavaVersion computeJavaSourceCompatibilityConvention(DefaultJavaPluginExtension javaExtension, ScalaCompile compileTask) {
            JavaVersion rawSourceCompatibility = javaExtension.getRawSourceCompatibility();
            if (rawSourceCompatibility != null) {
                return rawSourceCompatibility;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 10:39:12 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCrossCompileIntegrationTest.groovy

    class JavaModuleCrossCompileIntegrationTest extends AbstractJavaModuleIntegrationTest {
    
        def setup() {
            buildFile << """
                java {
                    sourceCompatibility = JavaVersion.VERSION_1_8
                    targetCompatibility = JavaVersion.VERSION_1_8
                }
                def jvm = project.services.get(org.gradle.api.plugins.jvm.internal.JvmLanguageUtilities)
    
                def main = sourceSets.main
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 18:13:37 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. buildSrc/src/main/kotlin/AlpnVersions.kt

     */
    fun alpnBootVersion(): String? {
      val version = System.getProperty("alpn.boot.version")
    
      if (version != null) {
        return version
      }
    
      val javaVersion = System.getProperty("java.version")
      val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
    
      return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.archive
    
    import org.apache.commons.compress.archivers.zip.ZipFile
    import org.apache.commons.io.IOUtils
    import org.gradle.api.JavaVersion
    import org.gradle.internal.lazy.Lazy
    import org.gradle.internal.serialize.JavaClassUtil
    
    import java.util.jar.JarEntry
    import java.util.jar.JarFile
    import java.util.jar.Manifest
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top