Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 390 for scriptId (0.12 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc

    |===
    
    [[sec:build_script_plugins]]
    == Script plugins
    
    *Script plugins* are typically small, local plugins written in script files for tasks specific to a single build or project.
    They do not need to be reused across multiple projects.
    Script plugins *are not recommended* but many other forms of plugins evolve from script plugins.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/build/BuildLayoutValidator.java

    import java.util.List;
    
    import static org.gradle.internal.logging.text.StyledTextOutput.Style.UserInput;
    import static org.gradle.internal.scripts.ScriptFileUtil.getValidBuildFileNames;
    import static org.gradle.internal.scripts.ScriptFileUtil.getValidSettingsFileNames;
    
    @ServiceScope(Scope.BuildSession.class)
    public class BuildLayoutValidator {
        private final BuildLayoutFactory buildLayoutFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 07:26:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

        fun WriteContext.writeReference(value: Any?) {
            // Cannot warn about a script reference here, because we don't know whether the closure will attempt to use the script object when it executes,
            // and since almost every closure in a Groovy build script legitimately has the script as an owner, this will generate false problems.
            // So instead, warn when the script object is used by the closure when executing
            writeEnum(
                when {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

        }
    
        def "pom conversion to kotlin build scripts is triggered when pom and no gradle file found"() {
            given:
            pom()
    
            when:
            run('init')
    
            then:
            pomValuesUsed(rootProjectDslFixtureFor(KOTLIN))
        }
    
        def "pom conversion to #scriptDsl build scripts not triggered when build type is specified"() {
            given:
            pom()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

        }
    
        def "can change template file for default start script generators"() {
            given:
            file('customUnixStartScript.txt') << '${applicationName} start up script for UN*X'
            file('customWindowsStartScript.txt') << '${applicationName} start up script for Windows'
            buildFile << """
    startScripts {
        applicationName = 'myApp'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy

                }
                gradle.lifecycle.afterProject {
                    println log
                }
            '''
    
            def script = '''
                println "$name with version $version"
                version = 'from script'
            '''
            buildFile script
            groovyFile 'sub/build.gradle', script
    
            when:
            succeeds 'help'
    
            then:
            outputContains 'root with version from action'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/SettingsInternal.java

         *
         * Gradle runtime.
         */
        ClassLoaderScope getBaseClassLoaderScope();
    
        /**
         * The scope for this settings object.
         *
         * Gradle runtime + this object's script's additions.
         */
        ClassLoaderScope getClassLoaderScope();
    
        ServiceRegistry getServices();
    
        @Override
        BuildCacheConfigurationInternal getBuildCache();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                        File("added.init.gradle.kts") to TestHashCodes.hashCodeFrom(2)
                    )
                ),
                equalTo("init script 'added.init.gradle.kts' has been added")
            )
        }
    
        @Test
        fun `added init scripts are reported`() {
            assertThat(
                invalidationReasonForInitScriptsChange(
                    from = listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

         */
        abstract List<String> getCommandLine();
    
        /**
         * Returns a command line elements that can be used to start this script.
         * The resulting list can be used as an argument for the {@link ProcessBuilder} or Groovy's {@code execute} method.
         * The first element of the list is the command interpreter (sh or cmd depending on the platform).
         * The list also contains a path to the script relative to {@code baseDir}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

     * when using the wrapper scripts.
     *
     * <p>The scripts generated by this task are intended to be committed to your version control system. This task also
     * generates a small {@code gradle-wrapper.jar} bootstrap JAR file and properties file which should also be committed to
     * your VCS. The scripts delegates to this JAR.
     */
    @DisableCachingByDefault(because = "Updating the wrapper is not worth caching")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top