Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for correctly (0.75 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginIntegrationTest.kt

                assertThat(output, containsString("my-plugin settings plugin applied"))
            }
        }
    
        @Test
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor::class)
        fun `should compile correctly with Kotlin explicit api mode`() {
            withBuildScript(
                """
                plugins {
                    `kotlin-dsl`
                }
    
                $repositoriesBlock
    
                kotlin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt

                assertThat(error, containsString("The plugins {} block must not be used here"))
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20131")
        @Test
        fun `plugin block processed correctly even when preceded by annotation`() {
    
            withBuildScript(
                """
                @Suppress("DSL_SCOPE_VIOLATION")
                plugins {
                    id("base")
                }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt

                verify(container).named("domainObject")
                verifyNoMoreInteractions()
            }
    
            assertThat(
                domainObject.foo, // just to prove domainObject's type is inferred correctly
                nullValue()
            )
    
            assertThat(
                domainObject,
                sameInstance(element)
            )
    
            inOrder(container, provider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

                assertSingleFileReport(ReportSeverity.WARNING, EditorMessages.buildConfigurationFailedUsingPrevious)
            }
        }
    
        @Test
        fun `do not report file warning on script compilation failure in currently edited script`() {
            val editedScript = withBuildScript(
                """
                doNotExists()
                """
            )
    
            resolvedScriptDependencies(editedScript).apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt

            rootProject.serviceOf<ImplicitImports>().list
        }
    
        val nonProjectScriptPaths: ScriptClassPath by unsafeLazy {
            ScriptClassPath(
                bin = ClassPath.EMPTY, // Non-project script models currently resolve their base classpath themselves
                src = ClassPath.EMPTY + gradleSourceRoots
            )
        }
    
        val scriptPaths: ScriptClassPath by unsafeLazy {
            ScriptClassPath(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

            }
        }
    
        private
        var writingState: WritingState = Idle()
    
        // Start fingerprinting if not already started and not already committed
        // This should be strict but currently this method may be called multiple times when a
        // build invocation both runs tasks and queries models
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

    /**
     * Allows objects that support the [Java Object Serialization](https://docs.oracle.com/javase/8/docs/platform/serialization/spec/serialTOC.html)
     * protocol to be stored in the configuration cache.
     *
     * The implementation is currently limited to serializable classes that
     * either implement the [java.io.Externalizable] interface, or implement the [java.io.Serializable] interface and define one of the following combination of methods:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

            // public Kotlin type due to Kotlin `internal` semantics, we check
            // whether the public Java class is also the first public Kotlin type,
            // otherwise we compute a new schema entry with the correct Kotlin type.
            val firstPublicKotlinType = schemaType.firstPublicKotlinAccessorTypeOrSelf
            when {
                firstPublicKotlinType === schemaType -> this
                else -> ProjectSchemaNamedDomainObjectSchema(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

                    write(it.attributes)
                }
            }
    
            if (requestedAttributes) {
                // Write the file extension -> transform mappings
                // This currently uses a dummy set of variants to calculate the mappings.
                // Do not write this if it will not be used
                // TODO - simplify extracting the mappings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. JavadocStyleGuide.md

    For this, all code blocks and multi-line snippets should be wrapped in `<code class="language-*****"></code>`.
    
    Make sure the correct language is added to the class name: `language-kotlin`, `language-groovy`, or `language-java`:
    
    ```java
    /**
     * <pre><code class="language-kotlin">
     * project.ext.prop1 = "foo"
     * task doStuff {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top