Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Let (0.15 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        private
        var closed = false
    
        fun type(sourceName: String): ApiType? = open {
            apiTypesBySourceName.computeIfAbsent(sourceName) {
                repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } }
            }?.invoke()
        }
    
        internal
        fun allTypes(): Sequence<ApiType> = open {
            repository.allClassesBytesBySourceName().map { (sourceName, classBytes) ->
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            Disposer.newDisposable().let { disposable ->
                ParsedKotlinFiles(disposable.parseKotlinFiles(sourceRoots, compilationClasspath), disposable)
            }
    
        private
        fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) =
            Disposer.newDisposable().use {
                parseKotlinFiles(sourceRoots, emptyList()).let(block)
            }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                },
                file
            )
        }
    
        private
        fun getBuildTimestampAsString() =
            buildTimestamp.get().let { timestampFormat.format(it) }
    
        private
        fun getBuildTimestampAsIsoString() =
            buildTimestamp.get().let { isoTimestampFormat.format(it) }
    
        private
        fun Logger.logBuildVersion() {
            lifecycle(
                "Version: ${version.get()} " +
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

            description = "Promotes the latest successful changes on '${branch.branchName}' from Ready for Nightly as a new nightly snapshot"
    
            triggers {
                branch.nightlyPromotionTriggerHour?.let { triggerHour ->
                    schedule {
                        if (branch.isMainBranch) {
                            schedulingPolicy = daily {
                                this.hour = triggerHour
                            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 2.6K bytes
    - Viewed (1)
  5. .cm/plugins/filters/nullToEmpty/index.js

     * @param {Object} input - The object to investigate
     * @returns Object - The specified value if non-null, otherwise an empty array
     * @example {{ readField('jvm', 'files') | nullToEmpty }}
     */
    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
        console.log("nullToEmpty: " + output);
        return output;
    }
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

        @get:Inject
        internal
        abstract val classLoaderFactory: ClassLoaderFactory
    
        @TaskAction
        fun generate(): Unit =
            destinationFile.get().asFile.let {
                if (sources.isEmpty) it.writeText("")
                else generateParameterNamesResource(sources.files, classpath.files, it)
            }
    
        private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    )
    
    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
    errorproneExtension.disabledChecks.addAll(
        // DISCUSS
        "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
        "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
        // NEVER
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                    it.testType == TestType.platform &&
                        it.os == testCoverage.os &&
                        it.buildJvm == testCoverage.buildJvm
                }
                foundTestCoverage?.let {
                    buildProjectClassTimes[it.asId(MASTER_CHECK_CONFIGURATION)]
                }?.also {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

                buildReceiptFileContents = repoRoot()
                    .dir("incoming-distributions")
                    .file(BuildReceipt.buildReceiptFileName)
                    .let(providers::fileContents)
                    .asText
            }
        }
    
    
    fun isRunningInstallTask() =
        listOf("install", "installAll")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        parameters.gradleVersion = moduleIdentity.version.map { it.version }
        parameters.homeDir = intTestHomeDir
    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
        setSystemPropertiesOfTestJVM("default")
        configureGradleTestEnvironment()
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top