Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for foreach (0.48 sec)

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

                    .let(transform)
            }
    
        override fun close() {
            val errors = mutableListOf<Exception>()
            openKotlinCompilationUnitsByRoot.values.forEach { unit ->
                try {
                    unit.close()
                } catch (ex: Exception) {
                    errors.add(ex)
                }
            }
            openJavaCompilationUnitsByFile.clear()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 20 16:37:41 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

    fun readCapabilitiesFromJson() {
        val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile
        val capabilities: List<CapabilitySpec> = readCapabilities(capabilitiesFile)
        capabilities.forEach {
            it.configure(dependencies.components, configurations)
        }
    }
    
    fun readCapabilities(source: File): List<CapabilitySpec> {
        JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Aug 24 23:27:45 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

            }
        }
    }
    
    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

            destinationDirectory.mkdirs();
    
            Path adocDir = getDocumentationRoot().get().getAsFile().toPath();
            getDocumentationFiles().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(adocFile -> {
                String adocFileName = adocFile.getName();
                // getting_started.adoc -> getting_started-docinfo.html
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Sep 28 06:35:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/StagePasses.kt

    fun <T : BaseGradleBuildType> Dependencies.snapshotDependencies(buildTypes: Iterable<T>, snapshotConfig: SnapshotDependency.(T) -> Unit = {}) {
        buildTypes.forEach { buildType ->
            dependency(buildType.id!!) {
                snapshot {
                    if (!buildType.failStage) {
                        onDependencyFailure = FailureAction.IGNORE
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val durationsPerTestProject = projectDurations.groupBy({ it.testProject }, { it.scenarioDurations })
        durationsPerTestProject.forEach { (key, value) -> if (value.size != 1) throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations") }
        return durationsPerTestProject
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
                jarFileSystem.rootDirectories.forEach {
                    visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath())
                }
            }
            return classGraph
        }
    
        private
        fun classGraph() =
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
        }
    
        private
        fun openJarFile(file: File) =
            openJars.computeIfAbsent(file, ::JarFile)
    
        override fun close() {
            openJars.values.forEach(JarFile::close)
        }
    }
    
    
    /**
     * See https://docs.oracle.com/javase/8/docs/technotes/tools/findingclasses.html#userclass
     */
    private
    val File.isClassPathArchive
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            Please search related information in our [latest documentation](https://docs.gradle.org/current/userguide/userguide.html) before opening a documentation issue.
            If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue.
    
            If you found a clear typo, please open a PR with a fix instead of opening an issue.
    
      - type: dropdown
        id: issue-type
        attributes:
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 10:01:01 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. .cm/plugins/filters/byCodeowner/ignore/index.js

        add (pattern) {
            this._added = false
    
            makeArray(
                isString(pattern)
                    ? splitPattern(pattern)
                    : pattern
            ).forEach(this._addPattern, this)
    
            // Some rules have just added to the ignore,
            // making the behavior changed.
            if (this._added) {
                this._initCache()
            }
    
            return this
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top