- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,232 for scriptId (0.67 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptPlugin.kt
import org.gradle.groovy.scripts.ScriptSource import org.gradle.kotlin.dsl.support.loggerFor internal class KotlinScriptPlugin( private val scriptSource: ScriptSource, private val script: (Any) -> Unit ) : ScriptPlugin { override fun getSource() = scriptSource override fun apply(target: Any) { logger.debug("Applying Kotlin script to {}", target) script(target)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.1K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/core-configuration/kotlin-dsl/src/integTest/groovy/org/gradle/kotlin/dsl/KotlinScriptCacheCleanupIntegrationTest.groovy
implements FileAccessTimeJournalFixture { @UnsupportedWithConfigurationCache(because = "tests script compilation") def "cleanup deletes old script cache entries"() { given: requireOwnGradleUserHomeDir() executer.requireIsolatedDaemons() and: 'seed script cache to have a baseline to compare against' buildKotlinFile.text = """ tasks.register("run") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.3K bytes - Viewed (0) -
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScriptTemplate.kt
import org.gradle.plugin.use.PluginDependenciesSpec import kotlin.script.experimental.annotations.KotlinScript import kotlin.script.experimental.api.baseClass import kotlin.script.experimental.api.filePathPattern import kotlin.script.experimental.api.implicitReceivers import kotlin.script.templates.ScriptTemplateDefinition private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins.adoc
The choice between script, precompiled script, or binary plugins depends on your specific requirements and preferences. *Script Plugins* are simple and easy to write. They are written in Kotlin DSL or Groovy DSL. They are suitable for small, one-off tasks or for quick experimentation. However, they can become hard to maintain as the build script grows in size and complexity.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 02:15:18 UTC 2024 - 3.7K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc
├── shared │ ├── src │ │ └──... │ └── build.gradle └── settings.gradle ---- <1> Create the `MyCustomTask` task. <2> A shared build script. <3> Uses the `MyCustomTask` task and shared build script. ===== In the `buildSrc`, the build script `shared.gradle(.kts)` is created. It contains dependencies and other build information that is common to multiple subprojects: [.multi-language-sample] =====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 12:58:46 UTC 2024 - 11.7K bytes - Viewed (0)