Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for shared (0.37 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    Tom Tresansky <******@****.***> 1715641965 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    │       ├── src
    │       │   └──...
    │       └── build.gradle    // <3>
    ├── shared
    │   ├── src
    │   │   └──...
    │   └── build.gradle
    └── settings.gradle
    ----
    <1> Create the `MyCustomTask` task.
    <2> A shared build script.
    <3> Uses the `MyCustomTask` task and shared build script.
    =====
    
    In the `buildSrc`, the build script `shared.gradle(.kts)` is created.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            given:
            createLock(Exclusive)
    
            when:
            createLock(Shared)
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot lock twice in single process for shared mode"() {
            given:
            createLock(Shared)
    
            when:
            createLock(Shared)
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

                    return backingCache
                }
            }
        }
    
        def "acquires lock on open and releases on close when lock mode is shared"() {
            def access = newAccess(Shared)
    
            when:
            access.open()
    
            then:
            1 * lockManager.lock(lockFile, mode(Shared), "<display-name>") >> lock
            1 * initializationAction.requiresInitialization(lock) >> false
            _ * lock.state
            0 * _._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. apache-maven/pom.xml

                  <exclude>src/assembly/shared/init</exclude>
                  <exclude>src/assembly/shared/init.cmd</exclude>
                  <exclude>src/assembly/shared/mvnlauncher</exclude>
                  <exclude>src/assembly/shared/mvnlauncher.cmd</exclude>
                  <exclude>src/assembly/shared/mvnvalidate</exclude>
                  <exclude>src/assembly/shared/mvnvalidate.cmd</exclude>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    [[build_services]]
    = Using Shared Build Services
    
    Shared build services allow tasks to share state or resources.
    For example, tasks might share a cache of pre-computed values or use a web service or database instance.
    
    A build service is an object that holds the state for tasks to use.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    - If the retention period is customized for Gradle versions greater than or equal to version 8.0 to use retention periods _longer_ than the previously fixed periods, the older versions of Gradle may clean the shared caches earlier than what is configured.
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 23:00:38 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

        @Shared
        def socketError = new SocketException()
        @Shared
        def connectTimeout = new SocketTimeoutException()
        @Shared
        def cannotConnect = new HttpHostConnectException(null, null)
        @Shared
        def missing = status(404)
        @Shared
        def clientTimeout = status(408)
        @Shared
        def tooManyRequests = status(429)
        @Shared
        def forbidden = status(403)
        @Shared
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            server.expect(server.get("shared.gradle").send("""
                ${instrument('"shared"')}
                println 'Echo 1'
            """))
            run 'help'
    
            then:
            outputContains 'Echo 1'
            def scripts = scriptDetails()
            scriptHasChanged("shared", before, scripts)
            getCompileBuildFileOperationsCount() == 2 // classpath + body for shared build script
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/VariantFilesMetadataRulesTest.groovy

        @Shared attributes = AttributeTestUtil.attributesFactory().of(Attribute.of("someAttribute", String), "someValue")
        @Shared mavenMetadataFactory = DependencyManagementTestUtil.mavenMetadataFactory()
        @Shared ivyMetadataFactory = DependencyManagementTestUtil.ivyMetadataFactory()
        @Shared defaultVariant
    
        private ivyComponentMetadata(String[] deps) {
            def dependencies = deps.collect { name ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top