Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 110 for initScripts (0.17 sec)

  1. 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        GradleExecuter withEnvironmentVars(Map<String, ?> environment);
    
        @Deprecated
        GradleExecuter usingSettingsFile(File settingsFile);
    
        GradleExecuter usingInitScript(File initScript);
    
        /**
         * Uses the given project directory
         */
        GradleExecuter usingProjectDirectory(File projectDir);
    
        /**
         * Uses the given build script
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

        protected
        abstract val processOperations: ProcessOperations
    
        /**
         * Configures the classpath of the init script.
         */
        @Suppress("unused")
        open fun initscript(block: ScriptHandlerScope.() -> Unit): Unit =
            internalError()
    
        /**
         * Logger for init scripts. You can use this in your init script to write log messages.
         */
        @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

        }
    
        @Test
        fun `script handler belongs to the current script`() {
    
            val init = withFile(
                "some.init.gradle.kts",
                """
                println("init: ${'$'}{initscript.sourceFile}")
                """
            )
    
            val settings = withSettings(
                """
                println("settings: ${'$'}{buildscript.sourceFile}")
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

         */
        protected TestFile settingsScript(@GroovyBuildScriptLanguage String script) {
            settingsFile.text = script
            settingsFile
        }
    
        protected TestFile initScript(@GroovyBuildScriptLanguage String script) {
            initScriptFile.text = script
            initScriptFile
        }
    
    
        protected TestFile getSettingsFile() {
            testDirectory.file(settingsFileName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

    """
        }
    
        def "reasonable error message for dependencies of init scripts which are missing from verification file"() {
            file("init.gradle") << """
                initscript {
                    repositories {
                        maven { url "${mavenHttpRepo.uri}" }
                    }
                    dependencies {
                        classpath 'org:foo:1.0'
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K 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. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    This may cause these directories to no longer be searched or backed up by some tools. To disable it, use the following code in an <<init_scripts#sec:using_an_init_script,init script>> in the Gradle User Home:
    
    ====
    [.multi-language-sample]
    =====
    .init.gradle.kts
    [source,kotlin]
    ----
    beforeSettings {
        caches {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (2)
Back to top