- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 397 for logic (0.04 sec)
-
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy
given: "a plugin that creates a custom extension using a DependencyCollector" file("build-logic/src/main/java/com/example/restricted/DependenciesExtension.java") << defineDependenciesExtension() file("build-logic/src/main/java/com/example/restricted/LibraryExtension.java") << defineLibraryExtension()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 10:11:12 UTC 2024 - 28.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc
== Share logic in `buildSrc` `buildSrc` is a Gradle-recognized and protected directory which comes with some benefits: 1. *Reusable Build Logic*: + `buildSrc` allows you to organize and centralize your custom build logic, tasks, and plugins in a structured manner. The code written in buildSrc can be reused across your project, making it easier to maintain and share common build functionality. 2. *Isolation from the Main Build*: +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 12:58:46 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/intro_multi_project_builds.adoc
Let's take the previous example. The logic in `buildSrc` has been turned into a project that contains plugins and can be published and worked on independently of the root project build. The plugin is moved to its own build called `build-logic` with a build script and settings file:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 23:14:04 UTC 2024 - 11.4K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy
No sub-projects """ } def "project project structure and software types for multi-project build using declarative dcl"() { given: "a build-logic build registering an ecosystem plugin defining several software types via several plugins" file("build-logic/src/main/java/com/example/restricted/LibraryExtension.java") << """ package com.example.restricted; import org.gradle.api.provider.Property;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:32 UTC 2024 - 10K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy
outputContains("Execution: build-logic-value") when: System.clearProperty("someProperty") configurationCacheRun "print", "-DsomeProperty=cli-overridden-value" then: configurationCache.assertStateLoaded() outputContains("Execution: build-logic-value") } def "reports build logic reading files in #title"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 36K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc
│ │ └──... │ └── build.gradle.kts └── settings.gradle.kts ---- The build file of the `database-logic` subproject is as follows: ==== include::sample[dir="snippets/plugins/pluginProject/kotlin",files="database-logic/build.gradle.kts[]"] include::sample[dir="snippets/plugins/pluginProject/groovy",files="database-logic/build.gradle[]"] ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 21:49:49 UTC 2024 - 14.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)