Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 121 for initscript (0.17 sec)

  1. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            given:
            buildFile << """
    application.applicationDefaultJvmArgs = ["-DappHomeSystemProp=REPLACE_THIS_WITH_APP_HOME"]
    
    startScripts {
        doLast {
            unixScript.text = unixScript.text.replace("REPLACE_THIS_WITH_APP_HOME", "'\\\$APP_HOME'")
            windowsScript.text = windowsScript.text.replace("REPLACE_THIS_WITH_APP_HOME", '%APP_HOME%')
        }
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    ====
    
    *Example 4:* Setting Gradle properties from the command line:
    ====
    ----
    $ gradle -DgradlePropertiesProp=commandLineValue
    ----
    ====
    
    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 {}`:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                    }
                    on { displayNameOf(any()) }.then { invocation ->
                        invocation.getArgument<File>(0).name
                    }
                },
                ConfigurationCacheFingerprint.InitScripts(
                    from.map { (file, hash) -> ConfigurationCacheFingerprint.InputFile(file, hash) }
                )
            )
        }
    
        private
        fun checkFingerprintGiven(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    include::sample[dir="snippets/plugins/pluginManagement/kotlin", files="settings.gradle.kts[]"]
    include::sample[dir="snippets/plugins/pluginManagement/groovy", files="settings.gradle[]"]
    ====
    
    The block can also be used in <<init_scripts.adoc#init_scripts,Initialization Script>>:
    
    ====
    include::sample[dir="snippets/plugins/pluginManagement/kotlin", files="init.gradle.kts[]"]
    include::sample[dir="snippets/plugins/pluginManagement/groovy", files="init.gradle[]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    On top of that, apply the following conventions for better IDE support:
    
    * Name scripts that are applied to `Settings` according to the pattern `*.settings.gradle.kts`,
    * Name <<init_scripts.adoc#init_scripts,init scripts>> according to the pattern `*.init.gradle.kts`.
    
    
    == Applying plugins
    
    Just like with the Groovy DSL, there are two ways to apply Gradle plugins:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Note that you can mix Groovy DSL build scripts with Kotlin DSL ones, i.e. a Kotlin DSL build script can apply a Groovy DSL one and each project in a multi-project build can use either one.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/reference/command_line_interface.adoc

    `-D`, `--system-prop`::
    Sets a <<build_environment.adoc#sec:gradle_system_properties,system property>> of the JVM, for example `-Dmyprop=myvalue`.
    
    `-I`, `--init-script`::
    Specifies an <<init_scripts.adoc#init_scripts,initialization script>>.
    
    `-P`, `--project-prop`::
    Sets a <<project_properties.adoc#sec:project_properties,project property>> of the root project, for example `-Pmyprop=myvalue`.
    
    `-Dorg.gradle.jvmargs`::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/main/resources/header.html

                        <ul id="other-developing-topics">
                            <li><a href="../userguide/working_with_files.html">Working with Files</a></li>
                            <li><a href="../userguide/init_scripts.html">Initialization Scripts</a></li>
                            <li><a href="../userguide/dataflow_actions.html">Dataflow Actions</a></li>
                            <li><a href="../userguide/test_kit.html">Testing with TestKit</a></li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

    include::sample[dir="snippets/buildCache/developer-ci-setup/groovy",files="settings.gradle[tags=developer-ci-setup]"]
    ====
    
    It is also possible to configure the build cache from an <<init_scripts.adoc#sec:using_an_init_script,init script>>, which can be used from the command line, added to your Gradle User Home or be a part of your custom Gradle distribution.
    
    .Init script to configure the build cache
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        override fun visitProperty(property: FirProperty) {
            if (visitedProperty.add(property)) {
                super.visitProperty(property)
            }
        }
    
        override fun visitScript(script: FirScript) {
            script.declarations.forEach {
                it.accept(this)
            }
        }
    
        override fun visitElement(element: FirElement) {
            element.acceptChildren(this)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
Back to top