Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 616 for logic (0.05 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                        }
                    }
                }
            """
    
            file(extensionFile) << extensionCode
    
            file("build-logic/src/main/java/com/example/restricted/SoftwareTypeRegistrationPlugin.java") << defineSettingsPluginRegisteringSoftwareTypeProvidingPlugin()
            file("build-logic/src/main/java/com/example/restricted/RestrictedPlugin.java") << """
                package com.example.restricted;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/UndeclaredDependencyResolutionIntegrationTest.groovy

            when:
            run("broken")
    
            then:
            assertTransformed()
            output.contains("result = [a.jar.green, b.jar.green]")
        }
    
        @UnsupportedWithConfigurationCache(because = "task dependency logic is not executed when loaded from the configuration cache")
        def "can query FileCollection containing the output of transform of project artifacts at task graph calculation time"() {
            setupBuildWithProjectArtifactTransforms()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    ├── settings.gradle
    ├── subproject-one
    │   └── build.gradle
    └── subproject-two
        └── build.gradle
    ----
    =====
    ====
    
    [[sec:build_sources]]
    == Use `buildSrc` to abstract imperative logic
    
    Complex build logic is usually a good candidate for being encapsulated either as custom task or binary plugin.
    Custom task and plugin implementations should not live in the build script.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    }
    
    dependencies {
        implementation(project(':some-logic'))  // dependency on some-logic
    }
    ----
    =====
    ====
    
    If we run `:app:build` again, we see the Java code of `some-logic` is also compiled by Gradle automatically:
    
    [source,text]
    ----
    $./gradlew :app:build
    
    > Task :app:processResources NO-SOURCE
    > Task :app:processTestResources NO-SOURCE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    // limitations under the License.
    
    [[test_kit]]
    = Testing Build Logic with TestKit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. .github/CODEOWNERS

    .github/                                    @gradle/bt-developer-productivity @gradle/bt-support # This might need to be more finegrained in the future
    /build-logic/                               @gradle/bt-developer-productivity
    /build-logic-commons/                       @gradle/bt-developer-productivity
    /build-logic-settings/                      @gradle/bt-developer-productivity
    /build.gradle*                              @gradle/bt-developer-productivity
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:44:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    5. **Return type **of original call
    6. **The receiver** of original call
    7. **Parameters** of original call
    8. **Logic** with call interception logic or logic that translates the new type to the old type
    
    This JavaCompileInterceptorsDeclaration will then generate interceptors in **org.gradle.internal.classpath.generated** package.
    
    For Java:
    ```java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/build.gradle

                sampleDirectory = samplesRoot.dir("build-organization/sharing-convention-plugins-with-build-logic")
                displayName = "Sharing convention plugins with build logic build"
                description = "Reuse convention plugins in both main build and build logic build"
                category = "Build organization"
                common {
                    from(templates.javaApplicationAsSubproject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                }
            '''
    
            and:
            file('build-logic/settings.gradle') << "rootProject.name = 'build-logic'"
            file('build-logic/build.gradle') << """
                plugins { id 'groovy-gradle-plugin' }
                dependencies {
                    compileOnly 'com.acme:ext:latest'
                }
            """
            file('build-logic/src/main/groovy/MyTask.groovy') << """
                import org.gradle.api.*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top