Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Store (0.31 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            findLatest("kotlin", "org.jetbrains.kotlin:kotlin-gradle-plugin:(1.4,)", versionProperties)
    
            store(versionProperties)
        }
    
        private
        fun store(properties: Properties) {
            PropertiesUtils.store(
                properties, libraryVersionFile.get().asFile,
                "Generated file, please do not edit - Version values used in build-init templates",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 11:19:07 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            TypeNameResolver resolver = new TypeNameResolver(repository)
            repository.each { name, metaData ->
                fullyQualifyAllTypeNames(metaData, resolver)
            }
            repository.store(destinationFile.get().asFile)
    
            Date stop = new Date()
            TimeDuration elapsedTime = TimeCategory.minus(stop, start)
            Logging.getLogger(this.getClass()).lifecycle( "Parsed $counter classes in ${elapsedTime}")
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

             *
             * See [PropertiesUtils.store].
             */
            fun store(data: Map<String, Any>, file: File, comment: String? = null) {
                store(propertiesFrom(data), file, comment)
            }
    
            /**
             * Writes [Properties] to a file, but without including the timestamp comment.
             *
             * See [PropertiesUtils.store].
             */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/extensions.kt

    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
     * @param artifactPatterns patterns for artifacts clean-up. If not specified, all artifacts will be removed.
     */
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. .teamcity/README.md

    If you have ktlint errors, you can automatically fix them by running `mvn com.github.gantsign.maven:ktlint-maven-plugin:1.1.1:format`.
    
    ## How the configuration works
    
    We use Kotlin portable DSL to store TeamCity configuration, which means you can easily create a new pipeline
    based on a specific branch. Currently, we have two pipelines: `master` and `release`, but you can easily create
    and test another isolated pipeline from any branch. 
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    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)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                logger.logBuildVersion()
            }
            val file = receiptFolder.file(buildReceiptLocation).get().asFile.also {
                it.parentFile.mkdirs()
            }
            ReproduciblePropertiesWriter.store(
                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.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)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

        @get:OutputFile
        abstract val manifestFile: RegularFileProperty
    
        @TaskAction
        fun generate() {
            ReproduciblePropertiesWriter.store(createProperties(), manifestFile.get().asFile)
        }
    
        private
        fun createProperties() = Properties().also { properties ->
            properties["runtime"] = runtime.get().joinToString(",")
    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)
Back to top