crossCompilation

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split samples and snippets

    • -26
    • +0
    ./groovy/src/main/java/org/gradle/Person.java
    • -13
    • +0
    ./java6CrossCompilation.sample.conf
    • -13
    • +0
    ./java7CrossCompilation.sample.conf
    • -26
    • +0
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 7724 more files in changeset.
Split samples and snippets from each other

    • -26
    • +0
    ./groovy/src/main/java/org/gradle/Person.java
    • -13
    • +0
    ./java6CrossCompilation.sample.conf
    • -13
    • +0
    ./java7CrossCompilation.sample.conf
    • -26
    • +0
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -26
    • +0
    ./groovy/src/main/java/org/gradle/Person.java
    • -13
    • +0
    ./java6CrossCompilation.sample.conf
    • -13
    • +0
    ./java7CrossCompilation.sample.conf
    • -26
    • +0
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 7549 more files in changeset.
Split samples and snippets from each other

    • -26
    • +0
    ./groovy/src/main/java/org/gradle/Person.java
    • -13
    • +0
    ./java6CrossCompilation.sample.conf
    • -13
    • +0
    ./java7CrossCompilation.sample.conf
    • -26
    • +0
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 7547 more files in changeset.
Split samples and snippets from each other

    • -26
    • +0
    ./groovy/src/main/java/org/gradle/Person.java
    • -13
    • +0
    ./java6CrossCompilation.sample.conf
    • -13
    • +0
    ./java7CrossCompilation.sample.conf
    • -26
    • +0
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 7549 more files in changeset.
Update Exemplar plugin to version 0.8.0

  1. … 348 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./groovy/src/main/java/org/gradle/Person.java
    • -1
    • +1
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 174 more files in changeset.
Deactivate failing tests

  1. … 1 more file in changeset.
Deactivate failing tests

  1. … 1 more file in changeset.
Revert "Convert groovy samples to lazy tasks API"

This reverts commit 5201a50eb5eb42ad69f327c9f8b073c115653656.

  1. … 259 more files in changeset.
Update kotlin samples (A-L) to use lazy task API

  1. … 15 more files in changeset.
Convert groovy samples to lazy tasks API

  1. … 264 more files in changeset.
Prefer type-safe accessors for tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 31 more files in changeset.
improvements after Paul Merlin's review

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter building_java_projects (crossCompilation example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -0
    • +58
    ./groovy/build.gradle
    • -0
    • +3
    ./groovy/gradle.properties
    • -0
    • +1
    ./groovy/settings.gradle
    • -0
    • +26
    ./groovy/src/main/java/org/gradle/Person.java
    • -0
    • +1
    ./groovy/src/main/resources/org/gradle/resource.xml
    • -0
    • +40
    ./groovy/src/test/java/org/gradle/PersonTest.java
    • -0
    • +1
    ./groovy/src/test/resources/org/gradle/test-resource.xml
    • -4
    • +13
    ./java6CrossCompilation.sample.conf
    • -4
    • +13
    ./java7CrossCompilation.sample.conf
    • -0
    • +62
    ./kotlin/build.gradle.kts
    • -0
    • +3
    ./kotlin/gradle.properties
    • -0
    • +1
    ./kotlin/settings.gradle.kts
    • -0
    • +26
    ./kotlin/src/main/java/org/gradle/Person.java
  1. … 9 more files in changeset.
Convert user manual to be generated by Asciidoctor only

This change replaces all embedded Docbook syntax from the user manual.

Asciidoctor files are now converted directly to HTML and PDF.

It not only greatly simplifies the user manual generation pipeline, but also it makes it faster.

I did the following for all user manual pages:

- [x] Adjusted links to other manual pages, DSL docs, and Javadocs where necessary.

Fixed a couple dozen broken links at least.

- [x] Convert samples XML from docbook to asciidoctor syntax

- [x] Converted wide tables to a more flexible list-based display

Important contributor differences from now on:

- Users must use a `<file>.adoc#` prefix for all cross-reference links.

This is _required_ to achieve working links in all 3 outputs: multi-page user manual, single-page user manual, and PDF.

- The manual PDF is no longer themed, and no longer has the list of examples links in the TOC.

- File names were changed from camelCased to snake_case to have a crystal clear 1-1 mapping between source to output.

- Section reference verification is now handled by Asciidoctor verbose mode.

- The single-page user manual has the same navigation as the multi-page manual for now.

- [Common Asciidoctor extensions](https://github.com/gradle/dotorg-docs/tree/master/docs-asciidoctor-extensions) are now used by Gradle Guides and the User Manual, however, the the web assets (CSS, JS, etc) are not yet merged.

These extensions are responsible for injecting the navigation and styles.

The header/footer/navigation HTML can now be found under `subprojects/docs/src/main/resources`.

  1. … 401 more files in changeset.
Externalize samples testing infrastructure

This change replaces UserGuideSamplesRunner with an external library

called sample-check. Sample discovery, execution, and normalization

is delegated to this library, with some custom normalizers remaining

in the Gradle codebase.

Samples output has become co-located with the sample code. Samples tests

must be run with Java 8+.

    • -0
    • +4
    ./java6CrossCompilation.sample.conf
    • -0
    • +4
    ./java7CrossCompilation.sample.conf
  1. … 781 more files in changeset.
Sample projects should provide root project name as best practice (#3730)

  1. … 240 more files in changeset.
Remove usage of --no-search-upwards and deprecate

  1. … 256 more files in changeset.
Use commons-lang 2.6 to support jdk6

    • -1
    • +1
    ./src/main/java/org/gradle/Person.java
Use commons-lang 2.6 to support jdk6

    • -1
    • +1
    ./src/main/java/org/gradle/Person.java
Add Java 6/7 cross compilation guide in Java plugin user guide

    • -2
    • +12
    ./src/main/java/org/gradle/Person.java
    • -1
    • +7
    ./src/test/java/org/gradle/PersonTest.java
  1. … 4 more files in changeset.
Add Java 6/7 cross compilation guide in Java plugin user guide

    • -2
    • +12
    ./src/main/java/org/gradle/Person.java
    • -1
    • +7
    ./src/test/java/org/gradle/PersonTest.java
  1. … 4 more files in changeset.
Track java version when using forked compilation

We introduce a new property on ForkOptions to track the Java home

which contains javac. By doing so, we are able to track the Java

version for forked compilation, too.

+review REVIEW-6467

  1. … 17 more files in changeset.
Use correct comments in gradle.properties

+review REVIEW-6046

  1. … 2 more files in changeset.
Polish documentation for Java 6 deprecation

Adress feedback from review.

+review REVIEW-6046

  1. … 9 more files in changeset.
Add documentation for Groovy on Java 6

+review REVIEW-6046

  1. … 10 more files in changeset.
Add documentation for Scala on Java 6

+review REVIEW-6046

  1. … 10 more files in changeset.
Reactivate cross compilation samples test

In UserGuideSamplesRunner we check if Java 6 is available and set

the property for the sample. If we do not have Java 6 then the sample

fails.

+review REVIEW-6046

  1. … 1 more file in changeset.
Extend example for Java 6 compilation in userguide

+review REVIEW-6046

  1. … 1 more file in changeset.