Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Change (0.19 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

            configureProject().assertBuildScriptCompilationAvoided().assertOutputContains("bar")
        }
    
        @Test
        fun `avoids buildscript recompilation on non ABI change in buildSrc`() {
            val className = givenJavaClassInBuildSrcContains(
                """
                public void foo() {
                    System.out.println("foo");
                }
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

            ).assertSameApi()
        }
    
        // test throws until we can detect lambdas in inline functions and treat them as ABI
        @Test(expected = CompileAvoidanceException::class)
        fun `changes to inline method bodies change generated API class`() {
            givenChangingClass(
                "Foo",
                """
                    inline fun foo(): String {
                        return "foo"
                    }
                """,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    2. Accept the changes.\
    If you are sure that the changes are intentional, follow the steps described in the report.
    This includes adding the description of the changes to the `accepted-public-api-changes.json` file, and providing a reason for each change.
    You can add the changes to any place in the file, e.g. at the top.
    
    3. Make sure the file with accepted changes is sorted.\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/readme-templates/multi-common-body.adoc.template

    The `init` task uses the (also built-in) `wrapper` task to create a Gradle wrapper script, `gradlew`.
    
    The first step is to create a folder for the new project and change directory into it.
    
    [listing.terminal.sample-command]
    ----
    \$ mkdir demo
    \$ cd demo
    ----
    
    == Run the init task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 08 11:21:22 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  5. build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt

            upgradedProperties.assertContentContains("org.gradle.api.Task")
            upgradedProperties.assertContentContains("org.gradle.api.plugins.quality.Checkstyle")
    
            // Given, change only some classes but not metadata
            File(projectRoot, "core/src/main/java/org/gradle/api/TaskAction.java").writeText("""
                package org.gradle.api;
                public interface TaskAction {}
            """)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:55:53 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

     * and it should be appropriately marked with `@file:Incubating`.
     *
     * When the target method of an extension functions is de-incubated, removing at a later point is a breaking change.
     * The corresponding extension function gets automatically de-incubated during source generation.
     * But the same applies to the implicit file class, and it has to be de-incubated when any
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  7. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        remoteUri = repoRoot(project).asFile.absolutePath
        // Remember to update accordingly when rebasing/squashing
        // Do not use the "Rebase and merge" nor "Squash and merge" Github buttons when merging a PR that change the baseline
        ref = '264bd7744d2e89b2708303cd56bb11bc5003fa7e'
    }
    
    // === Declarative DSL ===
    performanceTest.registerTestProject("largeEmptyMultiProjectDeclarativeDsl", JavaExecProjectGeneratorTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

            return sourceCompatibility;
        }
        
        public void setSourceCompatibility(String sourceCompatibility) {
            this.sourceCompatibility = sourceCompatibility;
        }
    } 
    ```
    and we want to change it to:
    
    ```java
    abstract class JavaCompile {
        @Input
        public Property<String> getSourceCompatibility();
    } 
    ```
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                                Scenario(
                                    "org.gradle.performance.regression.corefeature.FileSystemWatchingPerformanceTest",
                                    "assemble for non-abi change with file system watching and configuration caching"
                                ),
                                it
                            )
                        }
                    )
                )
            ),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        fun singleAbstractMethodOf(classNode: ClassNode) =
            classNode.methods.singleOrNull { it.access.run { !isStatic && isAbstract } }
    
        /**
         * Test if a method is a prime declaration or an overrides that change the signature.
         *
         * There's no way to tell from the byte code that a method overrides the signature
         * of a parent declaration other than crawling up the type hierarchy.
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top