Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for task (0.14 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1008 bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            ObjectFactory objects = project.getObjects();
            // TODO: This breaks if version is changed later
            Object version = project.getVersion();
    
            TaskProvider<Javadoc> javadocAll = tasks.register("javadocAll", Javadoc.class, task -> {
                task.setGroup("documentation");
                task.setDescription("Generate Javadocs for all API classes");
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt

            if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) {
                throw GradleException(
                    "New project(s) added without updating subproject JSON. Please run `:${GenerateSubprojectsInfo.TASK_NAME}` task."
                )
            }
        }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.api.GradleException
    import org.gradle.api.tasks.CacheableTask
    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
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    import org.gradle.api.DefaultTask
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.InputFile
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    
    
    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.tooling.events.FinishEvent
    import org.gradle.tooling.events.OperationCompletionListener
    import org.gradle.tooling.events.task.TaskFailureResult
    import org.gradle.tooling.events.task.TaskFinishEvent
    import org.gradle.tooling.events.task.TaskSuccessResult
    import java.io.File
    import java.io.FileOutputStream
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import java.nio.file.Files
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.gson.Gson
    import com.google.gson.GsonBuilder
    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
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

                println("##teamcity[buildProblem description='${buildScanUri}/console-log?task=$it']")
            }
        }
    }
    
    fun shouldBeReportedAsTeamCityBuildProblem(task: Task) = task is Checkstyle || task is GenerateReportsTask || task is AbstractCompile || task is CodeNarc
    
    abstract class CollectFailedTaskPathsBuildService : AbstractBuildScanInfoCollectingService() {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  9. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                ":core:embeddedIntegTest",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
                description = "The test task you want to run"
            )
            text(
                testNameParameterName,
                """org.gradle.api.tasks.CachedTaskExecutionIntegrationTest.outputs*are*correctly*loaded*from*cache""",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.setGroup("release notes");
                task.setDescription("Generate release notes HTML page from Markdown.");
    
                task.getInputEncoding().convention(Charset.defaultCharset().name());
                task.getOutputEncoding().convention(Charset.defaultCharset().name());
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Mar 10 11:32:18 GMT 2023
    - 5.4K bytes
    - Viewed (0)
Back to top