Peter Ledbrook

Fix reference to `createStartScripts` task in docs

The Application Plugin reference page has one mention of a `createStartScripts`

that should be `startScripts`.

Remove the sample output file

Remove the sample output file

Remove Gradle Wrapper version output from user manual

It would take far too much effort to ensure that the sample in the Gradle

Wrapper reference chapter that shows the output of running `./gradlew -v`

is consistent with the current version of Gradle. Since it doesn't provide

a lot of value to the reader, I've just removed it.

Clean up user manual section on incremental tasks

Clean up user manual section on incremental tasks

Remove the About Gradle source file

    • -61
    • +0
    /subprojects/docs/src/docs/userguide/overview.adoc
Remove old About Gradle from PDF user manual

This was left in by mistake after we removed that content from the multi-page

version of the user manual.

Implements #dotorg-docs/353.

Clarify text on handling optional dependencies

The _Handling optional dependencies_ section of the Maven migration chapter

used rather awkward language to distinguish between optional transitive

dependencies and dependencies that a user wants to declare as optional in a

project's published POM.

I think this is a slight improvement.

Add references to lifecycle tasks in CLI chapter

Many people search for "gradle build command", which lands them on the CLI

chapter. This change ensures that the chapter links to an explanation of the

lifecycle tasks as well as naming the main ones. Hopefully this will get them

where they want in the docs.

Implements #dotorg-docs/346.

Add references to lifecycle tasks in CLI chapter

Many people search for "gradle build command", which lands them on the CLI

chapter. This change ensures that the chapter links to an explanation of the

lifecycle tasks as well as naming the main ones. Hopefully this will get them

where they want in the docs.

Implements #dotorg-docs/346.

Add references to lifecycle tasks in CLI chapter

Many people search for "gradle build command", which lands them on the CLI

chapter. This change ensures that the chapter links to an explanation of the

lifecycle tasks as well as naming the main ones. Hopefully this will get them

where they want in the docs.

Implements #dotorg-docs/346.

Add link from `SourceSet` API doc to user manual

A lot of users land on this API doc when they do a web search for "gradle

sourcesets". But it doesn't explain what source sets are. This change adds a

link to the user manual which _does_ explain what they are and how to use

them.

Implements #dotorg-docs/348.

Update tests for the extra lines in start scripts

The unit tests are hard-coded to the number of lines in the start scripts

generated by the Application Plugin. This commit updates the tests for the

new number of lines in those scripts due to the addition of a licence.

Clarify licensing in connection with the Application Plugin

This adds ASL 2.0 to the application start scripts (Unix and Windows) and also

clarifies that the plugin does not affect what license you can use for an

application that's packaged with them.

Resolves issue #8151.

Fix info about Java Plugin test configurations

The chapter erroneously said that the `test` task uses the `testRuntime` and

`testRuntimeOnly` configurations, when in fact it specifically uses the

`testRuntimeClasspath` one. The chapter now reflects reality.

Resolves issue #5681.

WIP Add Using Gradle from IDEs chapter

This plugs a gap in the current user manual and provides useful information for

folks that are trying to use Gradle from an IDE.

    • -0
    • +117
    /subprojects/docs/src/docs/userguide/using_gradle_from_ides.adoc
Add section on controlling dep versions to Maven migration guide

This also includes information on using the new Java Platform Plugin to control

dependency versions across a multi-project build.

Merge branch 'master' of github.com:gradle/gradle

Clarify conventions vs extension in App Plugin docs

Fix issues in Maven migration guide Kotlin samples

Fix integration test for Maven migration guide

Mention `Test.ignoreFailures` in Maven migration guide

Maven's integration tests don't fail the build if the tests themselves fail, so

I have added a mention of `ignoreFailures`, which replicates that behaviour.

Incorporate @eriwen feedback in Maven migration guide

Add and update samples in Maven migration guide

  1. … 27 more files in changeset.
Change nav for Maven migration guide

I've added the guide to the single-page user manual and updated the left-hand

nav links to bring a bit more clarity to what the migrations refer to.

Improve content of Maven migration guide

I have introduced a _General guidelines_ section that's modeled on the one in

the Ant migration guide. This merges and replaces a couple of the existing

early sections.

I have also added a section that tries to explain the difference between Maven

and Gradle when it comes to the build lifecycle, pointing readers at lifecycle

tasks as a comparative feature to the Maven lifecycle phases.

Finally, I cleaned up several sections -- filtering resources, configuring

integration tests -- and copied the _Further reading_ section from the Ant

migration guide.

Fix problems in the Maven migration guide

This corrects some errors about migrating dependencies and also fleshes out

that section (now titled "Migrating dependencies") with more information.

It also adds a section on migrating multi-module Maven builds and fixes the

section on importing BOMs.

Move the Maven migration Guide to the user manual

This is a straight move that just fixes the headings, samples syntax and links.

    • binary
    /subprojects/docs/src/docs/userguide/img/build-scan-home.png
    • -0
    • +360
    /subprojects/docs/src/docs/userguide/migrating_from_maven.adoc
Modify margin and padding for h5 headings

This means that clicking on a link to an h5 anchor will make it appear below

the top nav.

Fixes dotorg-docs#320

    • -2
    • +2
    /subprojects/docs/src/docs/css/manual.css