Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 338 for compilation (0.26 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompilation.kt

    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    
    /**
     * Encapsulates the configuration for the compilation of a source set, including:
     * - The target JVM version
     * - Workarounds which may affect the way the compilation is performed
     *
     * The compilation workarounds include:
     * - Using JDK internal classes
     * - Using Java standard library APIs that were introduced after the JVM version they are targeting
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 19 05:45:14 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

    // it controls the JVM version of the compilation. This allows each source set within a project
    // to compile to different JVM versions.
    
    val jvmCompile = extensions.create<JvmCompileExtension>(JvmCompileExtension.NAME)
    
    jvmCompile.compilations.configureEach {
        // Assume the compilation does not use any workarounds
        usesJdkInternals = false
        usesFutureStdlib = false
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 13:46:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
        // Number value = optionalInt.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/build.gradle.kts

    val compileJavaModuleInfo by tasks.registering(JavaCompile::class) {
      val moduleName = "okhttp3"
      val compilation = kotlin.targets["jvm"].compilations["main"]
      val compileKotlinTask = compilation.compileTaskProvider.get() as KotlinJvmCompile
      val targetDir = compileKotlinTask.destinationDirectory.dir("../java9")
      val sourceDir = file("src/jvmMain/java9/")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. buildscripts/cross-compile.sh

    #!/bin/bash
    
    set -e
    # Enable tracing if set.
    [ -n "$BASH_XTRACEFD" ] && set -x
    
    function _init() {
    	## All binaries are static make sure to disable CGO.
    	export CGO_ENABLED=0
    
    	## List of architectures and OS to test coss compilation.
    	SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/amd64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips openbsd/amd64 linux/riscv64"
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 972 bytes
    - Viewed (0)
  6. module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java

    import okhttp3.Call;
    import okhttp3.HttpUrl;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.logging.HttpLoggingInterceptor;
    import okhttp3.logging.LoggingEventListener;
    
    /**
     * Just checking compilation works
     */
    public class OkHttpCaller {
      public static Call callOkHttp(HttpUrl url) {
        OkHttpClient client = new OkHttpClient
          .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
         * - Compilation outputs
         * - Downloaded artifacts
         */
        PERSISTENT,
    
        /**
         * Data should be retained for the duration of the current Maven session.
         * Suitable for:
         * - Build-wide configuration
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. architecture/standards/0008-use-nullaway.md

    and there are no missing null checks.
    
    ## Decision
    
    Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
    
    Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test).
    
    Do not suppress NullAway errors without a justification.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        options.release = provider {
            throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.")
        }
    }
    
    val gradleModule = the<GradleModuleExtension>()
    the<JvmCompileExtension>().apply {
        compilations {
            configureEach {
                // Everything compiles to Java 17 by default
                targetJvmVersion = 17
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. buildSrc/src/main/kotlin/JavaModules.kt

        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
        // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly.
        options.compilerArgs.addAll(
          listOf(
            "--patch-module",
            "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}",
          ),
        )
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top