Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 355 for scriptId (0.29 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy

        String scriptUrl
        TestFile scriptFile
        String scriptName = "remote-script.gradle"
        def configurationCache
    
        def setup() {
            server.start()
    
            scriptUrl = "${server.uri}/${scriptName}"
            scriptFile = file("remote-script.gradle") << """
                println 'loaded remote script'
            """
            server.expectGet "/$scriptName", scriptFile
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    "<script src=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/groovy.min.js\"></script>" +
                    "<script>hljs.highlightAll();</script>" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:10:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

            failure.assertHasFailure("Execution failed for task ':some'.") {
                it.assertHasCause("Cannot reference a Gradle script object from a Groovy closure as these are not supported with the configuration cache.")
            }
        }
    
        def "from-cache build fails when task action defined in settings script reads a settings property"() {
            given:
            settingsFile << """
                gradle.rootProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy

        public static final String SAMPLE_APP_TEST_CLASS = "org/example/AppSuite.scala"
    
        @Override
        String subprojectName() { 'app' }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'scala-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
    - 5.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiScriptSymbol.kt

            get() = withValidityAssertion { if (script.containingKtFile.isCompiled) KaSymbolOrigin.LIBRARY else KaSymbolOrigin.SOURCE }
    
        override val psi: KtScript
            get() = withValidityAssertion { script }
    
        override val name: Name
            get() = withValidityAssertion { script.nameAsSafeName }
    
        override val typeParameters: List<KaTypeParameterSymbol>
            get() = withValidityAssertion { emptyList() }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildScriptChangesIntegrationTest.groovy

            when:
            build()
    
            then:
            outputContains fixture.expectedOutputBeforeChange
            configurationCache.assertStateStored()
    
            when:
            build()
    
            then: 'scripts are not executed when loading from cache'
            outputDoesNotContain fixture.expectedOutputBeforeChange
            configurationCache.assertStateLoaded()
    
            when:
            fixture.applyChange()
            build()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. common/Makefile.common.mk

    		${XARGS} common/scripts/lint_copyright_banner.sh
    
    fix-copyright-banner:
    	@${FINDFILES} \( -name '*.go' -o -name '*.cc' -o -name '*.h' -o -name '*.proto' -o -name '*.py' -o -name '*.sh' -o -name '*.rs' \) \( ! \( -name '*.gen.go' -o -name '*.pb.go' -o -name '*_pb2.py' \) \) -print0 |\
    		${XARGS} common/scripts/fix_copyright_banner.sh
    
    lint-go:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

        def configurationCache = newConfigurationCacheFixture()
    
        @Issue("https://github.com/gradle/gradle/issues/16849")
        def "init script can declare build logic input"() {
            given:
            TestFile buildLogicInput = file('input.txt').tap {
                text = 'foo!'
            }
            TestFile initScript = file('initscript.gradle').tap {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/html/template/doc.go

    	err = t.ExecuteTemplate(out, "T", "<script>alert('you have been pwned')</script>")
    
    produces
    
    	Hello, <script>alert('you have been pwned')</script>!
    
    but the contextual autoescaping in html/template
    
    	import "html/template"
    	...
    	t, err := template.New("foo").Parse(`{{define "T"}}Hello, {{.}}!{{end}}`)
    	err = t.ExecuteTemplate(out, "T", "<script>alert('you have been pwned')</script>")
    
    produces safe, escaped HTML output
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

            'deprecation:included-build-script' : 'Included build script has been deprecated.',
            'deprecation:included-build-task' : 'Included build task has been deprecated.',
            'deprecation:init-script' : 'Init script has been deprecated.',
            'deprecation:plugin' : 'Plugin has been deprecated.',
            'deprecation:plugin-script' : 'Plugin script has been deprecated.',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top