Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 1,316 for func (0.07 seconds)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    }
    
    
    private
    fun KtFile.ktClassOf(member: CtClass) =
        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    
    fun KtDeclaration.getSince(): String? =
        docComment?.let { SINCE_REGEX.find(it.text)?.groupValues?.get(1) }
    
    
    private
    fun String.mapJavaTypeToKotlinType(): String {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            override fun configureTest(testTask: Test, sourceSetName: String) {
                val currentVersionUnderTest = extractTestTaskGradleVersion(testTask.name)
                currentVersionUnderTest?.apply {
                    testTask.enabled = currentVersionEnabled(currentVersionUnderTest)
                }
            }
    
            private
            fun currentVersionEnabled(currentVersionUnderTest: String): Boolean {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        }
    
        private
        fun addFailedTaskPath(taskPath: String) {
            projectPathToFailedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath)
        }
    
        private
        fun getFailedTaskPaths(projectPath: String) = projectPathToFailedTaskPaths.getOrDefault(projectPath, emptyList())
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

                "org.gradle.profiler:gradle-profiler",
                setOf("gradle-tooling-api")
            )
        }
    }
    
    
    fun applyAutomaticUpgradeOfCapabilities() {
        configurations.all {
            resolutionStrategy.capabilitiesResolution.all {
                selectHighestVersion()
            }
        }
    }
    
    fun readCapabilitiesFromJson() {
        val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. 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()} " +
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 02:21:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

    import java.io.File
    
    @DisableCachingByDefault
    abstract class FixProjectHealthTask : DefaultTask() {
    
        private val errorLogFile = File("gradle-project-health.log")
    
        @TaskAction
        fun fixProjectHealth() {
            if (!errorLogFile.exists()) {
                println("Error log not found! Run the projectHealth check first and redirect output.")
                return
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            private
            fun openJarFile(file: Path): ZipInputStream {
                return ZipInputStream(Files.newInputStream(file))
            }
        }
    
        /**
         * Implementation code that can be unit-tested.
         *
         * <p>Visible for testing.</p>
         */
        class Implementation(private val excludes: List<String>, private val includes: List<String>) {
            fun collectPackages(files: Iterable<Path>): Trie {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        @get:InputFiles
        @get:PathSensitive(PathSensitivity.NONE)
        abstract val agentsClasspath: ConfigurableFileCollection
    
        override fun asArguments() = agentsClasspath.files.map { "-javaagent:$it" }
    }
    
    
    internal
    fun Project.createTestTask(name: String, executer: String, sourceSet: SourceSet, testType: TestType, extraConfig: Action<IntegrationTest>): TaskProvider<IntegrationTest> =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 16:39:23 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        @Language("kotlin")
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
            internal fun String.fooExt() {}
    
            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
                get() = "bar"
    
            internal var Int.bazarExt: String
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

                subprojects.map { it.name },
            )
    
        override fun getName(testCoverage: TestCoverage) =
            truncateName("${testCoverage.asName()} (${subprojects.joinToString(",") { it.name }})")
    
        override fun getDescription(testCoverage: TestCoverage) = "${testCoverage.asName()} for ${subprojects.joinToString(", ") { it.name }}"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top