Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for scriptId (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

                        commandLine "cat", "message"
                    }.standardOutput.asText.get()
                    print message
                """
            }
        }
    
        def "notices changes to settings scripts that do not change the file length"() {
            settingsFile.text = "println 'counter: __'"
            long before = settingsFile.length()
    
            expect:
            (10..40).each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppTest.groovy"
    
        @Override
        String subprojectName() { 'app' }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'groovy-application', '--dsl', scriptDsl.id, '--java-version', JavaVersion.current().majorVersion)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/AbstractKotlinScriptModelCrossVersionTest.groovy

        }
    
        protected static List<File> canonicalClasspathOf(KotlinDslScriptsModel model, File script) {
            return model.scriptModels[script].classPath.collect { it.canonicalFile }
        }
    
        protected static void assertHasExceptionMessage(KotlinDslScriptsModel model, TestFile script, String message) {
            assertThat(model.scriptModels[script].exceptions, hasItem(containsString(message)))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/UnsupportedTypesCodecs.kt

        bind(unsupported<FileDescriptor>())
        bind(unsupported<RandomAccessFile>())
        bind(unsupported<Socket>())
        bind(unsupported<ServerSocket>())
    
        // Gradle Scripts
        bind(unsupported<GradleScript>(" Gradle script object references"))
    
        // Gradle Build Model
        bind(unsupported<Gradle>())
        bind(unsupported<Settings>())
        bind(unsupported<Project>())
        bind(unsupported<IsolatedProject>())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

        def "defaults to kotlin build scripts"() {
            when:
            run ('init', '--type', 'kotlin-application')
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
        @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class)
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinGradlePluginInitIntegrationTest.groovy

        def "defaults to kotlin build scripts"() {
            when:
            run ('init', '--type', 'kotlin-gradle-plugin')
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
        @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_RUNNING_ON_EMBEDDED_EXECUTER_REASON )
        def "creates sample source if no source present with #scriptDsl build scripts"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top