Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 480 for scriptId (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/DefaultScriptPluginFactoryTest.groovy

    import org.gradle.groovy.scripts.BasicScript
    import org.gradle.groovy.scripts.DefaultScript
    import org.gradle.groovy.scripts.ScriptCompiler
    import org.gradle.groovy.scripts.ScriptCompilerFactory
    import org.gradle.groovy.scripts.ScriptRunner
    import org.gradle.groovy.scripts.ScriptSource
    import org.gradle.groovy.scripts.internal.BuildScriptData
    import org.gradle.groovy.scripts.internal.NoDataCompileOperation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 09 15:05:17 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcweb/vcweb.go

    // regenerates the repository using a script interpreted by a [script.Engine].
    // The script produces the server's contents for a corresponding root URL and
    // all subdirectories of that URL, which are then cached: subsequent requests
    // for any URL generated by the script will serve the script's previous output
    // until the script is modified.
    //
    // The script engine includes all of the engine's default commands and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

            failure.assertThatCause(containsString("Only Project and Settings build scripts can contain plugins {} blocks"))
            includesLinkToUserguide()
        }
    
        def "script plugins applied to arbitrary objects cannot have plugin blocks"() {
            def scriptPlugin = file("plugin.gradle")
    
            when:
            scriptPlugin << "plugins {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    _You don't have to migrate all at once!_ Both Groovy and Kotlin-based build scripts can `apply` other scripts of either language. You can find inspiration for any Gradle features not covered in the link:https://github.com/gradle/kotlin-dsl/tree/master/samples[Kotlin DSL samples].
    
    
    == Prepare your Groovy scripts
    
    Some simple Kotlin and Groovy language differences can make converting scripts tedious:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            result.groupedOutput.task(":two").assertOutputContains("values1=[12]")
        }
    
        def "problem when closure defined in Kotlin script captures state from the script"() {
            given:
            buildKotlinFile << """
                val message = "message"
                tasks.register("some") {
                    doFirst {
                        println(message)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/application_plugin.adoc

    [[sec:customizing_start_script_generation]]
    === Customizing start script generation
    
    The application plugin can generate Unix (suitable for Linux, macOS etc.) and Windows start scripts out of the box.
    The start scripts launch a JVM with the specified settings defined as part of the original build and runtime environment (e.g. `JAVA_OPTS` env var).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

                writer.println("            BasicScript script = precompiledScriptClass.getDeclaredConstructor().newInstance();");
                writer.println("            script.setScriptSource(scriptSource(precompiledScriptClass));");
                writer.println("            script.init(target, target.getServices());");
                writer.println("            script.run();");
                writer.println("        } catch (Exception e) {");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

     *  - the `.settings.gradle.kts` file name suffix defines a [Settings] script plugin
     *  - and finally, the simpler `.gradle.kts` file name suffix  defines a [Project] script plugin
     *
     * ## Defining the plugin id
     *
     * The Gradle plugin id for a precompiled script plugin is defined via its file name
     * plus optional package declaration in the following manner:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt

         *
         * Evaluates the provided path object as described for [file],
         * with the exception that any URI scheme is supported, not just `file:` URIs.
         */
        @Suppress("unused")
        fun uri(path: Any): URI =
            fileOperations.uri(path)
    
        /**
         * Resolves a file path relative to this script's target base directory.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    Furthermore, updating the initialization script logic uniformly can prove challenging.
    
    Custom Gradle distributions are a practical solution to this very problem.
    A custom Gradle distribution is comprised of the standard Gradle distribution plus one or many custom initialization scripts.
    The initialization scripts come bundled with the distribution and are applied every time the build is run.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top