Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1271 - 1280 of 1,316 for func (0.02 seconds)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

        }
    
        @get:Nested
        abstract val identity: ModuleIdentity
    
        fun identity(action: ModuleIdentity.() -> Unit) {
            action(identity)
        }
    
        /**
         * Describes the target processes that the code in this module may run on.
         */
        @get:Nested
        abstract val targetRuntimes: ModuleTargetRuntimes
    
        fun targetRuntimes(action: ModuleTargetRuntimes.() -> Unit) {
            action(targetRuntimes)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

                        "-Porg.gradle.java.installations.auto-download=false",
                    ).joinToString(" "),
            )
        }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = "${model.projectId}_BuildLogicTest"
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 04:30:54 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

            scriptFile.writeText(scriptFile.readText().replace("$optsEnvVar='", "$optsEnvVar='$jvmOpts "))
            batchScript.writeText(batchScript.readText().replace("set $optsEnvVar=", "set $optsEnvVar=$jvmOpts "))
        }
    }
    
    fun Project.wrapperUpdateTask(name: String, label: String) {
        val wrapperTaskName = "${name}Wrapper"
        val configureWrapperTaskName = "configure${wrapperTaskName.capitalize()}"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 17 08:58:33 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. docs_src/dataclasses_/tutorial002_py310.py

    
    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be playin' and havin' fun",
            "tags": ["breater"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 506 bytes
    - Click Count (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

    
    /**
     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
        }
        return append(value).append("\n")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/repositories-extensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.artifacts.dsl.RepositoryHandler
    
    
    fun RepositoryHandler.googleApisJs() {
        ivy {
            name = "googleApisJs"
            setUrl("https://ajax.googleapis.com/ajax/libs")
            patternLayout {
                artifact("[organization]/[revision]/[module].[ext]")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt

    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class CheckSubprojectsInfo : SubprojectsInfo() {
    
        @TaskAction
        fun checkSubprojectsInfo() {
            if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) {
                throw GradleException(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

                        buildScanTagParam("SmokeIdeTests"),
                        "-PflakyTests=$flakyTestStrategy",
                    ).joinToString(" "),
            )
        }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SmokeIdeTests"
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersion.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    import org.gradle.util.GradleVersion
    
    
    data class ReleasedVersion(private val version: String, private val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 842 bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/common/JvmVersion.kt

     */
    
    package common
    
    enum class JvmVersion(
        val major: Int,
    ) {
        JAVA_8(8),
        JAVA_11(11),
        JAVA_17(17),
        JAVA_21(21),
        JAVA_25(25),
        ;
    
        fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 05 16:58:51 GMT 2025
    - 856 bytes
    - Click Count (0)
Back to Top