Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 790 for scriptId (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/ScriptSourceListener.java

     * limitations under the License.
     */
    
    package org.gradle.groovy.scripts.internal;
    
    import org.gradle.groovy.scripts.ScriptSource;
    import org.gradle.internal.service.scopes.EventScope;
    import org.gradle.internal.service.scopes.Scope;
    
    @EventScope(Scope.Build.class)
    public interface ScriptSourceListener {
    
        /**
         * Called when remote script was applied.
         */
        void scriptSourceObserved(ScriptSource scriptSource);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1007 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr4_settings_file.adoc

    == Step 1. Gradle scripts
    
    Build scripts and setting files are code.
    They are written in Kotlin or Groovy.
    
    You use the link:{kotlinDslPath}[Kotlin DSL], link:{groovyDslPath}[Groovy DSL] and link:{javadocPath}[Gradle APIs] to write the scripts.
    
    The methods that can be used within a Gradle script primarily include:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    project script behaves as if the body of the script is enclosed within a `with(project) { ... }` block, a settings script as if the body of the script is enclosed within a `with(settings) { ... }` block and an init script as if the body of the script is enclosed within a `with(gradle) { ... }` block. This implies the corresponding model object is also available as a property in the body of the script, the `project` property for project scripts, the `settings` property for settings scripts and the...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

            failure.assertThatCause(containsString("Only Settings scripts can contain a pluginManagement {} block."))
            includesLinkToUserguide()
    
            and:
            verifyAll(receivedProblem) {
                fqid == 'compilation:groovy-dsl:compilation-failed'
                contextualLabel == "Could not compile initialization script '${initScript.absolutePath}'."
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ScriptClassloadingIntegrationTest.groovy

                    case SHARED_SCRIPTPLUGIN:
                        // share the same script file by applying it as a script plugin in the subproject's build file
                        subprojectNames.each { subprojectName ->
                            file("${subprojectName}/build.gradle") << """
                                apply from: new File(rootDir, 'script.gradle')
                            """.stripIndent()
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/scripts/ScriptGenerator.java

     * limitations under the License.
     */
    
    package org.gradle.jvm.application.scripts;
    
    import java.io.Writer;
    
    /**
     * Generates a script to start a JVM application.
     *
     * @see TemplateBasedScriptGenerator
     */
    public interface ScriptGenerator {
    
        /**
         * Generate the script.
         * <p>
         * Implementations should not close the given writer.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/settings_file_basics.adoc

    [[sec:settings_file_script]]
    == Settings script
    
    The settings file is a script.
    It is either a `settings.gradle` file written in Groovy or a `settings.gradle.kts` file in Kotlin.
    
    The link:{groovyDslPath}/index.html[Groovy DSL^] and the link:{kotlinDslPath}/index.html[Kotlin DSL^] are the only accepted languages for Gradle scripts.
    
    The settings file is typically found in the root directory of the project.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/script/cmds.go

    		})
    }
    
    // Stop returns a sentinel error that causes script execution to halt
    // and s.Execute to return with a nil error.
    func Stop() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "stop execution of the script",
    			Args:    "[msg]",
    			Detail: []string{
    				"The message is written to the script log, but no error is reported from the script engine.",
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

    import org.gradle.jvm.application.scripts.JavaAppStartScriptGenerationDetails
    import org.gradle.util.internal.TextUtil
    import org.gradle.util.internal.WrapUtil
    import spock.lang.Specification
    
    class UnixStartScriptGeneratorTest extends Specification {
    
        UnixStartScriptGenerator generator = new UnixStartScriptGenerator()
    
        def "classpath for unix script uses slashes as path separator"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/provider/DeclarativeDslPlugin.kt

    import org.gradle.configuration.ScriptPlugin
    import org.gradle.groovy.scripts.ScriptSource
    
    
    internal
    class DeclarativeDslPlugin(
        private val scriptSource: ScriptSource,
        private val script: (Any) -> Unit
    ) : ScriptPlugin {
    
        override fun getSource() =
            scriptSource
    
        override fun apply(target: Any) {
            script(target)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 08:18:16 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top