Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for Map (0.15 sec)

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

    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import me.champeau.gradle.japicmp.report.ViolationCheckContextWithViolations
    
    import java.io.File
    
    
    class BinaryCompatibilityRepositorySetupRule(private val params: Map<String, Any>) : SetupRule {
    
        companion object {
            const val REPOSITORY_CONTEXT_KEY = "binaryCompatibilityRepository"
        }
    
        /**
         * Each param is a `Set<String>`.
         */
        object Params {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        fun generateSubprojectsDirectories(): List<File> {
            val subprojectRoots = platformsFolder.asFile.listFiles(File::isDirectory).plus(subprojectsFolder.asFile).plus(testingFolder.asFile)
            return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten()
        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 04 07:21:38 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

        abstract val projectDependencies: ConfigurableFileCollection
    
        @Input
        val runtime = externalDependencies.elements.map { it.map { it.asFile.name }.sorted() }
    
        @get:Internal
        abstract val externalDependencies: ConfigurableFileCollection
    
        @Input
        val projects = projectDependencies.elements.map { it.map { it.toGradleModuleName() }.sorted() }
    
        @get:OutputFile
        abstract val manifestFile: RegularFileProperty
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

                CrossVersionBucketProvider(parameters.onlyTestGradleVersion.get())
            }
            else -> {
                NoOpTestClassProvider()
            }
        }
    
        private
        fun readTestClasses(content: String): Map<String, List<String>> {
            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Dec 08 06:28:57 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        }
    
        private
        val List<String>.firstBaseVersion: String
            get() = VersionNumber.parse(first()).minorBaseVersion
    
        private
        val List<String>.lastBaseVersion: String
            get() = map { VersionNumber.parse(it) }
                .last { it.qualifier == null || it.qualifier?.startsWith("rc") == true }
                .minorBaseVersion
    
        private
        val VersionNumber.minorBaseVersion: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            lines().joinToString(separator = "\n        |")
    
        private
        fun groovyImports(): String {
            val imports: List<String> =
                generateImportPackages()
                    .map { "$it.*" } + "" +
                    AnnotationGenerator.ADDITIONAL_DEFAULT_IMPORTS
            return imports.joinToString(separator = "\n") {
                if (it.isBlank()) "" else "import $it"
            }
        }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
        }
    }
    
    tasks.jar.configure {
        val classpath = manifestClasspath.elements.map { classpathDependency ->
            classpathDependency.joinToString(" ") {
                it.asFile.name
            }
        }
        manifest.attributes("Class-Path" to classpath)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Feb 28 23:38:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

                    if (os == Os.WINDOWS) {
                        listOf("jprofiler")
                    } else {
                        listOf("async-profiler", "async-profiler-heap")
                    }.map { FlameGraphGenerationBuildSpec(scenario, os, it) }
                }
            }
    
        inner
        class FlameGraphGenerationBuildSpec(
            val performanceScenario: PerformanceScenario,
            override val os: Os,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Dec 13 07:00:20 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/bucket-extensions.kt

     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
     * @param toIntFunction the function used to map the element to its "size"
     * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
     * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

        abstract val buildTimestamp: Property<Date>
    
        @get:OutputDirectory
        abstract val receiptFolder: DirectoryProperty
    
        fun buildTimestampFrom(provider: Provider<String>) {
            buildTimestamp = provider.map { buildTimestampString -> timestampFormat.parse(buildTimestampString) }
        }
    
        @TaskAction
        fun generate() {
            if (promotionBuild.get()) {
                logger.logBuildVersion()
            }
    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)
Back to top