Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createDocs (0.2 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/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)
  5. 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)
  6. 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)
Back to top