Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 96 for when (0.89 sec)

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

    import japicmp.model.JApiBehavior
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiField
    
    
    internal
    val JApiCompatibility.jApiClass: JApiClass
        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> throw IllegalStateException("Unsupported japicmp member type '${this::class}'")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            def title = typeTable.title[0].text()
    
            //TODO below checks makes it harder to add new sections
            //because the new section will work correctly only when the section title ends with 'types' :)
            if (title.matches('(?i).* types')) {
                mergeTypes(typeTable, model)
            } else if (title.matches('(?i).* blocks')) {
                mergeBlocks(typeTable, model)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        override fun onFinish(event: FinishEvent) {
            if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) {
                val taskPath = event.descriptor.taskPath
                when (event.result) {
                    is TaskSuccessResult -> {
                        addExecutedTaskPath(taskPath)
                        if (containsFailedTest(taskPath)) {
                            addFailedTaskPath(taskPath)
    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/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        fun isSince(version: String, member: JApiCompatibility): JavaSourceQuery<Boolean> =
            member.jApiClass.simpleName.let { declaringClassSimpleName ->
                JavaSourceQuery(
                    false,
                    when (member) {
                        is JApiClass -> isSinceJavaClassVisitorFor(declaringClassSimpleName, version)
                        is JApiField -> isSinceJavaFieldVisitorFor(member, version)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. .teamcity/mvnw.cmd

    @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
    @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
    @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
    @REM     e.g. to debug Maven itself, use
    @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
    @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
    Batch File
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    import model.CIBuildModel
    import model.StageName
    
    fun checkCleanDirUnixLike(dir: String, exitOnFailure: Boolean = true) = """
        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
            echo "${'$'}REPO was polluted during the build"
            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            excludedPackages.add("org.gradle.plugins.ide.idea.model");
            excludedPackages.add("org.gradle.api.tasks.testing.logging");
    
            // TODO - rename some incubating types to remove collisions and then remove these exclusions
            excludedPackages.add("org.gradle.plugins.binaries.model");
    
            // Exclude classes that were moved in a different package but the deprecated ones are not removed yet
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. .teamcity/README.md

    - Click `Versioned Settings` on the left sidebar.
      - Select `Synchronization enabled` - `use settings from VCS` - `MyNewVcsRoot`(the one you just created) - `Settings format: Kotlin`, then `Apply`.
    - At the popup window, click `Import Settings from VCS`. Wait a few seconds. 
    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)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes file
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    abstract class AlphabeticalAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
        @TaskAction
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
Back to top