Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for lint (0.15 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
                    // We assume that the declaration is not empty.
                    line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> {
                        ++replacementsCount
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        abstract val apiChangesFile: RegularFileProperty
    
        protected
        fun loadChanges(): List<AcceptedApiChange> {
            val jsonString = apiChangesFile.get().asFile.readText()
            val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
            return json.acceptedApiChanges!!
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
         * <p>
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                }
        }
    
        /**
         * Zip a list of files with same root directory to a zip file.
         *
         * @param destZip the target zip file
         * @param srcFiles the mapping of relative path to the file
         */
        private
        fun zip(destZip: File, srcFiles: List<Pair<String, File>>) {
            if (srcFiles.isEmpty()) {
                return
            }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

    
    class ReleasedVersionsDetails(currentBaseVersion: GradleVersion, releasedVersionsFile: RegularFile) {
        val allPreviousVersions: List<GradleVersion>
        val mostRecentRelease: GradleVersion
        val mostRecentSnapshot: GradleVersion
    
        val allTestedVersions: List<GradleVersion>
    
        val mainTestedVersions: List<GradleVersion>
    
        init {
            val lowestInterestingVersion = GradleVersion.version("0.8")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/projects/PerformanceTestProject.kt

    import model.PerformanceTestCoverage
    import model.PerformanceTestProjectSpec
    import model.Stage
    
    abstract class PerformanceTestProject(model: CIBuildModel, val spec: PerformanceTestProjectSpec, val performanceTests: List<PerformanceTest>) : Project({
        this.id(spec.asConfigurationId(model))
        this.name = spec.asName()
    }) {
        init {
            performanceTests.forEach(this::buildType)
        }
    }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasAccepted(vararg accepted: Pair<String, List<String>>) {
                assertThat("Has accepted", richReport.accepted, CoreMatchers.equalTo(accepted.map { ReportMessage(it.first, it.second) }))
            }
    
            fun assertHasErrors(vararg errors: List<String>) {
                assertHasErrors(*errors.toList().flatten().toTypedArray())
            }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt

        fun BuildSteps.gradleStep(tasks: List<String>) {
            gradleWrapper {
                name = "GRADLE_RUNNER"
                gradleParams = (
                    tasks +
                        buildToolGradleParameters(isContinue = false)
                    ).joinToString(separator = " ")
                skipConditionally()
            }
        }
    
        fun BuildSteps.adHocPerformanceTest(tests: List<String>) {
            gradleStep(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/FunctionalTestProject.kt

        val testCoverage: TestCoverage,
        val stage: Stage
    ) : Project({
        this.id(testCoverage.asId(model))
        this.name = testCoverage.asName()
    }) {
        val functionalTests: List<BaseGradleBuildType> = functionalTestBucketProvider.createFunctionalTestsFor(stage, testCoverage)
        init {
            functionalTests.forEach(this::buildType)
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 805 bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 815 bytes
    - Viewed (0)
  10. .gitattributes

    * text eol=lf
    
    #
    # The above will handle all files NOT found below
    # https://help.github.com/articles/dealing-with-line-endings/
    # https://github.com/Danimoth/gitattributes
    
    # These are explicitly windows files and should use crlf
    *.bat           text eol=crlf
    
    # These files are text and should be normalized (Convert crlf => lf)
    *.bash          text eol=lf
    *.css           text diff=css
    *.htm           text diff=html
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Sep 02 12:15:16 GMT 2020
    - 1.1K bytes
    - Viewed (0)
Back to top