Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for scriptId (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    The `init` task also supports generating build scripts using either the Gradle Kotlin DSL or the Gradle Groovy DSL. The build script DSL defaults to the Kotlin DSL for most build types and to the Groovy DSL for Groovy build types. The DSL can be selected by using the `--dsl` command-line option.
    
    For example, to create a Java library project with Kotlin DSL build scripts, run:
    
    ```bash
    gradle init --type java-library --dsl kotlin
    ```
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

        }
    
        /**
         * Set the build script DSL to be used.
         *
         * @since 4.5
         */
        @Option(option = "dsl", description = "Set the build script DSL to be used in generated scripts.")
        public void setDsl(String dsl) {
            this.dsl = dsl;
        }
    
        /**
         * Available build script DSLs to be used.
         *
         * @since 4.5
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    ----
    ====
    
    Note that <<init_scripts.adoc#init_scripts, initialization scripts>> can't read Gradle properties directly.
    The earliest Gradle properties can be read in initialization scripts is on `settingsEvaluated {}`:
    
    *Example 5:* Reading Gradle properties from initialization scripts:
    ====
    include::sample[dir="snippets/tutorial/gradleProperties/kotlin",files="init.gradle.kts[tags=gradle-properties]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    link:{javadocPath}/org/gradle/process/ExecOperations.html[`ExecOperations`] is a service that provides methods for executing external processes (commands) from within a build script.
    It is part of the `org.gradle.process.internal` package and is typically used in custom tasks or plugins to run command-line tools or scripts as part of the build process.
    
    You can obtain an instance of `ExecOperations` using the `project.exec` property.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

    import java.util.function.Function
    
    /**
     * Helper to test {@code exec} and {@code javaexec} methods on scripts and {@code ExecOperations}.
     */
    class ExternalProcessFixture {
        private final TestFile testDirectory
        private final ShellScript testExecutable = ShellScript.builder()
            .printText("Hello from script")
            .writeTo(testDirectory, "test")
    
        ExternalProcessFixture(TestFile testDirectory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    The type used in the build script's `configure` function (`GreetingPluginExtension`) must match the extension type.
    Then, when the block is executed, the receiver of the block is the extension.
    
    [.multi-language-text.lang-groovy]
    In this example, several settings can be grouped within the `greeting` closure. The name of the closure block in the build script (`greeting`) must match the extension object name.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. build-logic/packaging/src/main/kotlin/gradlebuild.distributions.gradle.kts

    val dslMetaData by tasks.registering(ExtractDslMetaDataTask::class) {
        source(gradleApiSources)
        destinationFile = generatedBinFileFor("dsl-meta-data.bin")
    }
    
    // List of packages that are imported by default in Gradle build scripts
    val defaultImports = tasks.register("defaultImports", GenerateDefaultImports::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. samples/bookinfo/src/productpage/templates/productpage.html

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% endblock %}
    
    <title>Simple Bookstore App</title>
    {% block scripts %}
    <script src="static/tailwind/tailwind.css"></script>
    <script type="text/javascript">
      window.addEventListener("DOMContentLoaded", (event) => {
        const dialog = document.querySelector("dialog");
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    The main difference between writing rules and defining dependencies and artifacts in the build script is that component metadata rules, following the structure of Gradle Module Metadata, operate on <<variant_model.adoc#understanding-variant-selection,variants>> directly.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

        def "defaults to Kotlin build scripts"() {
            when:
            run ('init', '--type', 'java-library' )
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            def dslFixture = dslFixtureFor(scriptDsl)
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
Back to top