Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove samples and documentation for software model Play plugins

    • -7
    • +0
    ./configure-compiler/app/views/index.scala.html
    • -15
    • +0
    ./configure-compiler/app/views/main.scala.html
    • -43
    • +0
    ./configure-compiler/conf/application.conf
    • -2
    • +0
    ./configure-compiler/configureScalaCompiler.sample.conf
    • binary
    ./configure-compiler/public/images/favicon.png
    • -36
    • +0
    ./configure-compiler/test/ApplicationSpec.scala
    • -22
    • +0
    ./configure-compiler/test/IntegrationSpec.scala
    • -7
    • +0
    ./custom-assets/app/views/index.scala.html
  1. … 76 more files in changeset.
Fixed JS repository in sample

Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 488 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 485 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 494 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 489 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 489 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -1
    • +0
    ./advanced/app/assets/coffeescript/console.coffee
    • -9
    • +0
    ./advanced/app/views/fields.scala.html
    • -16
    • +0
    ./advanced/app/views/main.scala.html
    • -13
    • +0
    ./advanced/app/views/pass.scala.html
    • -29
    • +0
    ./advanced/app/views/person.scala.html
    • -23
    • +0
    ./advanced/app/views/square.scala.html
  1. … 485 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./basic/app/controllers/Application.scala
    • -1
    • +1
    ./configure-compiler/test/ApplicationSpec.scala
  1. … 165 more files in changeset.
spelling: substitution

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

  1. … 1 more file in changeset.
spelling: publicly

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

spelling: internationalization

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Revert "Allow deprecations for play tests"

This reverts commit a8f19fb14256f0bcd1323e7bbab83ee644130d1c.

    • -1
    • +1
    ./basic/playComponentReport.sample.conf
  1. … 1 more file in changeset.
Revert "Allow deprecations for play tests"

This reverts commit a8f19fb14256f0bcd1323e7bbab83ee644130d1c.

    • -1
    • +1
    ./basic/playComponentReport.sample.conf
  1. … 1 more file in changeset.
Allow deprecations for play tests

    • -1
    • +1
    ./basic/playComponentReport.sample.conf
  1. … 1 more file 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. … 393 more files in changeset.
Re-enable Play/Scala tests on Java 9+ (#5593)

Almost all Play/Scala tests were ignored on Java 9/10, which makes it lack coverage. This PR does:

- Update Scala version to Java9-compatible version according to [JDK compatibility](https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html).

- Update default Play version to latest 2.6.15, which supports Java 9/10

- Adjust corresponding samples. Previous default Play version 2.3.10 was too old (release at 2014).

- Ignored the tests which can't work on Java 9+.

- Separate Play test resources with different versions. For example, Play 2.6 uses `build.gradle` and `Play 2.4/2.5` uses `build.gradle.old`.

- Previously `AbstractMultiVersionPlayContinuousBuildIntegrationTest` didn't have `targetPlatform` configuration, which made multi-version tests meaningless

- Fix `play-logback` configuration for `2.5.18`.

    • -2
    • +4
    ./basic/app/controllers/Application.scala
    • -20
    • +1
    ./configure-compiler/conf/application.conf
    • -20
    • +15
    ./configure-compiler/test/ApplicationSpec.scala
  1. … 156 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
    • +2
    ./advanced/specifyPlayVersion.sample.conf
    • -0
    • +42
    ./basic/playComponentReport.out
    • -0
    • +6
    ./basic/playComponentReport.sample.conf
    • -0
    • +2
    ./configure-compiler/configureScalaCompiler.sample.conf
    • -0
    • +2
    ./custom-assets/customAssetsPipeline.sample.conf
    • -0
    • +2
    ./custom-distribution/addFilesToPlayDistribution.sample.conf
    • -0
    • +2
    ./multiproject/playMultiProjectDependencies.sample.conf
    • -0
    • +2
    ./play-2.4/configureRoutesCompiler.sample.conf
    • -0
    • +2
    ./play-2.6/play26Project.sample.conf
    • -0
    • +2
    ./sourcesets/addExtraPlaySourcesets.sample.conf
  1. … 773 more files in changeset.
Favor using FileCollection.iterator() over FileCollection.getFiles()

In some cases it's cheaper to create the iterator than a full-blown Set.

  1. … 28 more files in changeset.
Sample projects should provide root project name as best practice (#3730)

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

    • -0
    • +0
    ./advanced/settings.gradle
    • -0
    • +0
    ./basic/settings.gradle
    • -0
    • +0
    ./configure-compiler/settings.gradle
    • -0
    • +0
    ./custom-assets/settings.gradle
    • -0
    • +0
    ./custom-distribution/settings.gradle
    • -0
    • +0
    ./play-2.4/settings.gradle
    • -0
    • +0
    ./play-2.6/settings.gradle
    • -0
    • +0
    ./sourcesets/settings.gradle
  1. … 249 more files in changeset.
Remove inexistent ExampleFilter

Remove inexistent ExampleFilter

Use Java 8 required by Play 2.5

Use Java 8 required by Play 2.5

Updated advanced code sample

    • -3
    • +3
    ./advanced/app/views/fields.scala.html
    • -2
    • +2
    ./advanced/app/views/person.scala.html
Updated advanced code sample

    • -3
    • +3
    ./advanced/app/views/fields.scala.html
    • -2
    • +2
    ./advanced/app/views/person.scala.html
Add play 2.6 sample project

    • -0
    • +15
    ./play-2.6/app/views/main.scala.html
    • -0
    • +349
    ./play-2.6/conf/application.conf
    • binary
    ./play-2.6/public/images/external.png
    • binary
    ./play-2.6/public/images/favicon.png
    • -0
    • +3
    ./play-2.6/public/javascripts/hello.js
    • -0
    • +127
    ./play-2.6/public/stylesheets/main.css
  1. … 1 more file in changeset.
Add play 2.6 sample project

    • -0
    • +23
    ./play-2.6/app/controllers/HomeController.java
    • -0
    • +7
    ./play-2.6/app/views/index.scala.html
    • -0
    • +15
    ./play-2.6/app/views/main.scala.html
    • -0
    • +34
    ./play-2.6/build.gradle
    • -0
    • +349
    ./play-2.6/conf/application.conf
    • -0
    • +38
    ./play-2.6/conf/logback.xml
    • binary
    ./play-2.6/public/images/external.png
    • binary
    ./play-2.6/public/images/favicon.png
    • binary
    ./play-2.6/public/images/header-pattern.png
    • -0
    • +3
    ./play-2.6/public/javascripts/hello.js
    • -0
    • +127
    ./play-2.6/public/stylesheets/main.css
  1. … 1 more file in changeset.
Update sample to use 2.5 instead of 2.3