Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for createDocs (0.42 sec)

  1. platforms/documentation/docs/src/snippets/java/application/groovy/build.gradle

    // end::executableDir-conf[]
    
    // tag::distribution-spec[]
    tasks.register('createDocs') {
        def docs = layout.buildDirectory.dir('docs')
        outputs.dir docs
        doLast {
            docs.get().asFile.mkdirs()
            docs.get().file('readme.txt').asFile.write('Read me!')
        }
    }
    
    distributions {
        main {
            contents {
                from(createDocs) {
                    into 'docs'
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/application/kotlin/build.gradle.kts

    // end::executableDir-conf[]
    
    // tag::distribution-spec[]
    val createDocs by tasks.registering {
        val docs = layout.buildDirectory.dir("docs")
        outputs.dir(docs)
        doLast {
            docs.get().asFile.mkdirs()
            docs.get().file("readme.txt").asFile.writeText("Read me!")
        }
    }
    
    distributions {
        main {
            contents {
                from(createDocs) {
                    into("docs")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/application/tests/application.out

    > Task :createDocs
    > Task :compileJava
    > Task :distTar
    > Task :distZip
    > Task :assemble
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 112 bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            buildFile << """
                task createDocs {
                    def docs = file("\$buildDir/docs")
    
                    outputs.dir docs
    
                    doLast {
                        assert docs.directory
                        new File(docs, "readme.txt") << "Read me!!!"
                    }
                }
    
                application.applicationDistribution.from(createDocs) {
                    into "docs"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/build_lifecycle.adoc

    Your build scripts and plugins configure this dependency graph.
    
    For example, if your project tasks include `build`, `assemble`, `createDocs`, your build script(s) can ensure that they are executed in the order `build` -> `assemble` -> `createDoc`.
    
    == Task Graphs
    
    Gradle builds the task graph *before* executing any task.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 11:17:49 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

            writeFile(lockManager)
    
            and:
            def lock = createLock(lockMode)
            def beforeAccess = lock.state
            lock.close()
    
            and:
            lock = createLock(lockMode, testFile, lockManager)
            lock.readFile {}
            lock.close()
    
            when:
            lock = createLock(lockMode)
    
            then:
            !lock.state.hasBeenUpdatedSince(beforeAccess)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

            given:
            def file = tmpDir.file("lock-file.bin")
            def action = Mock(Consumer)
    
            def lock = createLock(Exclusive, file, manager, action)
    
            when:
            def lock2 = createLock(lockMode, file, manager2)
    
            then:
            lock2
            1 * action.accept(_) >> { FileLockReleasedSignal signal ->
                lock.close()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            given:
            createLock(Exclusive)
    
            when:
            createLock(Exclusive)
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot lock twice in single process for mixed modes"() {
            given:
            createLock(Exclusive)
    
            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)
  9. pkg/controller/replication/conversion.go

    	controller.PodControlInterface
    }
    
    func (pc podControlAdapter) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error {
    	rc, err := convertRStoRC(object.(*apps.ReplicaSet))
    	if err != nil {
    		return err
    	}
    	return pc.PodControlInterface.CreatePods(ctx, namespace, template, rc, controllerRef)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. pkg/controller/controller_utils.go

    }
    
    // PodControlInterface is an interface that knows how to add or delete pods
    // created as an interface to allow testing.
    type PodControlInterface interface {
    	// CreatePods creates new pods according to the spec, and sets object as the pod's controller.
    	CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top