Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for targetRuntimes (0.09 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

        }
    
        /**
         * Describes the target processes that the code in this module may run on.
         */
        @get:Nested
        abstract val targetRuntimes: ModuleTargetRuntimes
    
        fun targetRuntimes(action: ModuleTargetRuntimes.() -> Unit) {
            action(targetRuntimes)
        }
    
        /**
         * Declares whether this module is published to an external repository.
         */
        abstract val published: Property<Boolean>
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    import java.util.Optional
    
    plugins {
        `java-base`
    }
    
    val gradleModule = extensions.create<GradleModuleExtension>(GradleModuleExtension.NAME).apply {
        published = false
    
        targetRuntimes {
            // By default, assume a library targets only the daemon
            // TODO: Eventually, all projects should explicitly declare their target platform(s)
            usedInWorkers = false
            usedInClient = false
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                targetJvmVersion = 17
            }
        }
        addCompilationFrom(sourceSets.main) {
            // For the production code, we derive the JVM version from the target runtime
            targetJvmVersion = gradleModule.targetRuntimes.computeProductionJvmTargetVersion()
        }
        addCompilationFrom(sourceSets.test)
    }
    
    removeTeamcityTempProperty()
    addDependencies()
    configureCompileDefaults()
    addCompileAllTasks()
    configureSourcesVariant()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top