- Sort Score
- Num 10 results
- Language All
Results 1211 - 1220 of 1,316 for func (0.04 seconds)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt
abstract class UpdateSmokeTestedPluginsVersions : AbstractVersionsUpdateTask() { @TaskAction fun update() { val pluginIds = getPluginIds() val fetchedVersions = fetchLatestVersions(pluginIds) updateProperties(fetchedVersions) } private fun getPluginIds(): List<String> { val props = Properties() propertiesFile.get().asFile.reader().use { input ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Sep 18 16:06:17 GMT 2025 - 2.3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
} class LazyProjectVersion(private val version: Provider<String>) { override fun toString(): String = version.get() } group = "org.gradle" version = LazyProjectVersion(gradleModule.identity.version.map { it.version }) /** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): Provider<String> =
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.9K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/ConfigurationExtensions.kt
import org.gradle.api.attributes.LibraryElements import org.gradle.api.attributes.Usage import org.gradle.api.attributes.java.TargetJvmEnvironment import org.gradle.api.model.ObjectFactory import org.gradle.kotlin.dsl.named fun Configuration.configureAsApiElements(objects: ObjectFactory) { attributes { attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API)) attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jan 14 07:52:30 GMT 2025 - 3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/Os.kt
jprofilerHome = "/Applications/JProfiler11.1.4.app", defaultArch = Arch.AARCH64, ), ; fun escapeKeyValuePair( key: String, value: String, ) = """"$key=$value"""" fun asName() = name.lowercase().toCapitalized() fun javaInstallationLocations(arch: Arch = Arch.AMD64): List<String> { val paths = when { this == LINUX ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Sep 18 12:22:32 GMT 2025 - 3.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
expectedBucketNumber, arch, failStage, ) fun asId(projectId: String): String = "${projectId}_$testCoveragePrefix" fun asId(model: CIBuildModel): String = asId(model.projectId) private val testCoveragePrefix get() = "${testType.name.toCamelCase().toCapitalized()}_$uuid" fun asConfigurationId( model: CIBuildModel, subProject: String = "",Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 13:00:26 GMT 2025 - 27.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
} fun Requirements.requiresArch( os: Os, arch: Arch, ) { if (os == Os.MACOS) { contains("teamcity.agent.jvm.os.arch", arch.nameOnMac) } else { contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows) } } fun Requirements.requiresEc2Agent() { matches("teamcity.agent.name", "^(ec|EC)2-.*$") } fun Requirements.requiresNotEc2Agent() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
} override fun visitFileFailed(file: Path?, exc: IOException?) = FileVisitResult.TERMINATE override fun postVisitDirectory(dir: Path?, exc: IOException?) = FileVisitResult.CONTINUE private fun Path.isClassFilePath() = toString().endsWith(".class")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")), ) @BeforeEach fun setUp() { val stepsCapturer = slot<BuildSteps.() -> Unit>() every { buildType.steps } returns steps every { buildType.stage } returns buildModel.stages[2] every {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 20 07:29:52 GMT 2025 - 7.2K bytes - Click Count (0) -
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]. */ fun store(properties: Properties, file: File, comment: String? = null) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
abstract class AbstractVersionsUpdateTask : DefaultTask() { @get:Internal abstract val comment: Property<String> @get:Internal abstract val propertiesFile: RegularFileProperty protected fun updateCompatibilityDoc( compatibilityDocFile: RegularFileProperty, linePrefix: String, firstVersion: String, latestVersion: String, ) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 3.4K bytes - Click Count (0)