Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 604 for logic (0.06 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

            result.assertTasksExecuted(":compileDebugSwift", ":compileDebug")
            objectFiles(lib)*.assertExists()
            sharedLibrary("build/lib/main/debug/${lib.moduleName}").assertDoesNotExist()
        }
    
        def "build logic can change source layout convention"() {
            given:
            def lib = new SwiftLib()
            settingsFile << "rootProject.name = '${lib.projectName}'"
            lib.writeToSourceDir(file("Sources"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDeclaredSubstitutionsIntegrationTest.groovy

            when:
            buildB.file("build-logic/build.gradle") << """
                plugins {
                    id("groovy-gradle-plugin")
                }
            """
            buildB.file("build-logic/src/main/groovy/foo.gradle") << """
                println("foo applied")
            """
            buildB.settingsFile.setText("""
                pluginManagement {
                    includeBuild('build-logic')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 14.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginCrossVersionSmokeTest.kt

                    "Or use version $expectedKotlinDslPluginsVersion which is the expected version for this Gradle release. " +
                    "If you explicitly declare which version of the Kotlin Gradle Plugin to use for your build logic, update it to >= 1.8.0. " +
                    "Consult the upgrading guide for further information: " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            configurationCache.assertStateLoaded()
    
            where:
            operator << ['systemProperty', 'environmentVariable']
        }
    
        def "system property from #systemPropertySource used as task and build logic input"() {
    
            given:
            def configurationCache = newConfigurationCacheFixture()
            createDir('root') {
                file('build.gradle.kts') << """
    
                    $greetTask
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

            where:
            description                                        | configuration
            "build logic does not define any additional tasks" | ""
            "build logic defines default tasks"                | "defaultTasks = ['broken']"
            "build logic injects tasks into start param"       | "gradle.startParameter.taskNames = ['broken']"
        }
    
        def "#description means run help task"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.empty
    
            and:
            0 * fileAccessTimeJournal._
        }
    
        def "does nothing to empty classpath when transform is build logic"() {
            given:
            def classpath = DefaultClassPath.of()
    
            when:
            def cachedClasspath = transformer.transform(classpath, None)
    
            then:
            cachedClasspath.empty
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. settings.gradle.kts

                }
            }
            gradlePluginPortal()
        }
        includeBuild("build-logic-settings")
    }
    
    plugins {
        id("gradlebuild.build-environment")
        id("com.gradle.develocity").version("3.17.4") // Sync with `build-logic-commons/build-platform/build.gradle.kts`
        id("io.github.gradle.gradle-enterprise-conventions-plugin").version("0.10.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    They also serve as the primary mechanism for organizing build logic.
    
    == Benefits of plugins
    
    Writing many tasks and duplicating configuration blocks in build scripts can get messy.
    Plugins offer several advantages over adding logic directly to the build script:
    
    - *Promotes Reusability*: Reduces the need to duplicate similar logic across projects.
    - *Enhances Modularity*: Allows for a more modular and organized build script.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

            (valueSource as? Describable)?.let {
                it.displayName + " has changed"
            } ?: "a build logic input of type '${unpackType(valueSource).simpleName}' has changed"
    
        private
        fun buildLogicInputFailed(obtainedValue: ObtainedValue, failure: Throwable): InvalidationReason =
            "a build logic input of type '${obtainedValue.valueSourceType.simpleName}' failed when storing the entry with $failure"
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. architecture/networking/pilot.md

    However, there is also a bit of additional logic. Gateway types have extensive status reporting. Unlike Ingress, this is status reporting is done inline in the main controller, allowing status generation to be done directly in the logic processing the resources.
    
    Additionally, Gateway involves two components writing to the cluster:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top