Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 225 for BuildSrc (0.13 sec)

  1. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

            then:
            plugin.assertUnsupportedMessage(output, UNSUPPORTED_TOGGLE_MESSAGE)
        }
    
        def "checkin happens once for build with buildSrc"() {
            given:
            applyPlugin()
            file("buildSrc/src/main/groovy/Thing.groovy") << "class Thing {}"
    
            when:
            succeeds "t"
    
            then:
            plugin.serviceCreatedOnce(output)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskDependenciesCrossVersionSpec.groovy

            task(':c').dependencies == tasks(':b')
            task(':d').dependencies == tasks(':b', ':c')
        }
    
        def "reports task dependencies for tasks in buildSrc"() {
            given:
            file('buildSrc/build.gradle') << """
                task a { enabled = false }
                task b { dependsOn(a) }
                task c { dependsOn(b) }
                task d { dependsOn(b, c) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/BuildStateRegistry.java

         */
        IncludedBuildState addImplicitIncludedBuild(BuildDefinition buildDefinition);
    
        /**
         * Locates the buildSrc build for the given build, if present. Returns null if the given build does not have an associated buildSrc build.
         */
        @Nullable
        StandAloneNestedBuild getBuildSrcNestedBuild(BuildState owner);
    
        /**
         * Creates a new standalone nested build tree.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/snapshot/SnapshottingServiceIntegrationTest.groovy

        def "can inject snapshotting service into plugin"() {
            given:
            file("input.txt") << """
                Some text
            """
    
            def pluginBuilder = new PluginBuilder(file("buildSrc"))
            pluginBuilder.addPlugin("""
                def inputFile = project.file("input.txt")
                def snapshottingService = project.services.get(${SnapshottingService.name})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsDynamicGroovyBuildSrcIntegrationTest.groovy

        @Override
        String getLocation() {
            return "Plugin class 'SneakyPlugin'"
        }
    
        @Override
        void buildLogicApplication(BuildInputRead read) {
            dynamicGroovyPlugin(file("buildSrc/src/main/groovy/SneakyPlugin.groovy"), read)
            buildFile << """
                apply plugin: SneakyPlugin
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc

    They allow you to define a set of conventions for a project, and then apply those conventions to other projects or modules.
    
    The example above has been re-written as a convention plugin stored in `buildSrc`:
    
    .buildSrc/src/main/kotlin/MyConventionPlugin.kt
    [source,kotlin]
    ----
    import org.gradle.api.DefaultTask
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    import org.gradle.api.provider.Property
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsJavaLambdaBuildSrcIntegrationTest.groovy

        @Override
        String getLocation() {
            return "Plugin class 'SneakyPlugin'"
        }
    
        @Override
        void buildLogicApplication(BuildInputRead read) {
            javaLambdaPlugin(file("buildSrc/src/main/java/SneakyPlugin.java"), read)
            buildFile << """
                apply plugin: SneakyPlugin
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsStaticGroovyBuildSrcIntegrationTest.groovy

        @Override
        String getLocation() {
            return "Plugin class 'SneakyPlugin'"
        }
    
        @Override
        void buildLogicApplication(BuildInputRead read) {
            staticGroovyPlugin(file("buildSrc/src/main/groovy/SneakyPlugin.groovy"), read)
            buildFile << """
                apply plugin: SneakyPlugin
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r75/CustomTestTaskProgressEventCrossVersionTest.groovy

    class CustomTestTaskProgressEventCrossVersionTest extends ToolingApiSpecification {
    
        def "receives progress events from custom test task implementations"() {
            setup:
            Snippets.customTestTask(buildFile, file('buildSrc'))
    
            ValidatingProgressEventListener validatingListener = new ValidatingProgressEventListener()
    
            when:
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/TaskFromPluginValidationIntegrationTest.groovy

            expectReindentedValidationMessage()
        }
    
        def "detects that a problem is from a task declared in a precompiled script plugin"() {
            withPrecompiledScriptPlugins()
            def pluginFile = file("buildSrc/src/main/groovy/test.gradle.demo.plugin.gradle")
            writeTaskInto(pluginFile)
            pluginFile << """
                tasks.register("myTask", SomeTask) {
                    input.set("hello")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top