Commit graph

16 commits

Author SHA1 Message Date
fhajny
3046a6d606 devel/gradle: Update to 4.9.
- Projects that publish auxiliary publications through maven-publish
  and ivy-publish can now be depended upon by other projects in the
  same build.
- In addition to lazy tasks use, Kotlin DSL build scripts are
  evaluated faster with version 0.18.4.
- You can now pass arguments to JavaExec tasks directly from the
  command-line using --args.
- Improved dependency insight report.
2018-07-18 14:27:52 +00:00
fhajny
43e9287f4b devel/gradle: Update to 4.8.0.
- Dependency locking
- Improvements to publishing plugins:
  - Signing Plugin now supports signing all artifacts of a publication
  - Maven Publish Plugin now provides a dedicated, type-safe DSL to
    customize the POM generated as part of a Maven publication
  - Ivy Publish Plugin now provides a dedicated, type-safe DSL to
    customize the Ivy module descriptor generated as part of an Ivy
    publication
  - Configuration-wide dependency excludes are now published
- The maven-publish and ivy-publish plugins are now considered stable
  and use of the maven plugin is discouraged as it will eventually be
  deprecated
- User experience for incremental annotation processing is improved.
- Compilation will no longer fail when a processor does something that
  Gradle detects will not work incrementally
- Unused non-incremental processors no longer prevent incremental
  compilation
- Annotation processors are now able to decide dynamically if they are
  incremental or not
- Kotlin DSL 0.17.5
2018-06-05 09:15:31 +00:00
fhajny
a621f4cd58 devel/gradle: Update to 4.7.
- Gradle's incremental Java compiler can now run annotation processing
  incrementally.
- Support for Gradle builds with JDK 10
- Gradle log output is now grouped by task for non-interactive
  execution.
- Failed tests now run first. Together with the --fail-fast option it
  provides the quickest possible feedback loop.
- Incubating new capability for Kotlin DSL users: precompiled script
  plugins.
- Kotlin DSL v0.16 also includes Kotlin 1.2.31, a more consistent API,
  better IDE support, and more.
2018-04-19 07:56:39 +00:00
abs
effa81fc8c Fix reference to gradle-launcher-....jar by using PKGVERSION_NOREV. Bump PKGREVISION 2018-03-25 21:59:40 +00:00
maya
0076df7198 gradle: allow overriding JAVA_HOME with env variables.
from Nathan Arthur in PR pkg/53083
2018-03-08 21:00:29 +00:00
fhajny
44fe8237da devel/gradle: Update to 4.6
== Gradle 4.6

- JUnit 5 support
- Fail fast option for Test tasks
- Allow declared reasons for dependency and resolution rules
- Dependency constraints for transitive dependencies
- BOM import
- Support for optional dependencies in POM consumption
- Compile/runtime scope separation in POM consumption
- Customizable metadata file resolution
- Convenient declaration of annotation processor dependencies
- Tasks API allows custom command-line options
- Rich command-line arguments for Test, JavaExec or Exec tasks
- Logging options for debugging build caching
- Caching for Scala compilation when using the play plugin
- Improved Visual Studio IDE support for multi-project builds
- Improvements in gradle-native plugins
- Documentation updates
- Honour cache-expiry settings in the presence of detached
  configurations
- Default JaCoCo version upgraded to 0.8.0
- Build cache and task output caching marked stable
- TestKit marked stable
- CompileOptions.annotationProcessorPath now stable
- Bugfixes

Release notes:

  https://docs.gradle.org/4.6/release-notes.html


== Gradle 4.5.1

- Fixed regression in 4.5 where in some rare cases a dependency could
  be imported into a different scope than the one declared
- Fixed problem where NullPointerException could be observed if the
  parent build finished before the different composites
- Fixed regression in Eclipse project generation that could cause a
  sub-project to be added as a dependency to itself


== Gradle 4.5

- C/C++ compilation improvements
- ANTLR task is now cacheable by default
- Documentation enhancements
- Signing artifacts with gpg-agent
- Reduced deprecation logging in console
- Init task can now generate Kotlin DSL build scripts
- New plugin APIs
- Default CodeNarc has been upgraded to 1.0
- Configure executable directory in distributions
- Arbitrary task property names
- Bugfixes

Release notes:

  https://docs.gradle.org/4.5/release-notes.html
2018-03-02 10:28:58 +00:00
fhajny
d54e77b574 Update devel/gradle to 4.4.1.
- We started shipping JGit 4.5.3.201708160445-r in Gradle 4.4. Some of
  the non-shaded JGit resources leaked into the gradleApi() dependency
  and caused problems in some builds. We now shade all of JGit's
  resources.
- Some builds using Kotlin DSL had problems applying the build-scan
  plugin in Gradle 4.4. We've updated to kotlin-dsl 0.13.2.
- Gradle 4.4 contained changes to internal APIs that broke the popular
  Nebula dependency lock plugin. This release restores binary
  compatibility for that plugin.
2018-01-02 09:38:03 +00:00
fhajny
9bae27ddcd Update devel/gradle to 4.4.
- Visual Studio 2017 is now supported.
- The eclipse plugin now provides separate output folders
- Kotlin DSL updated to version 0.13
- Support version ranges in parent elements of a POM
- Better incremental builds and build cache support for C/C++
- Support for the combination of Play 2.6 and Scala 2.12
- Takes all plugin repositories into account and can resolve
  transitive plugin dependencies across them.
2017-12-19 14:05:18 +00:00
fhajny
84cf46df96 Update devel/gradle to 4.3.1.
This bug-fix release addresses several regressions in Gradle 4.3.

- Gradle 4.3 introduced an improvement where an error in resolving a
  module from one repository would prevent Gradle from searching for
  that same module in subsequent repositories. However, the change to
  abort searching repositories on all unrecognized errors proved to be
  too aggressive. With 4.3.1, only repository timeout errors will
  prevent Gradle from searching for a module in a subsequent repository.
- Moreover, the connection and socket timeouts for HTTP/HTTPS requests
  have been increased to 30 seconds.
- This version of Gradle also removes an overload of
  TaskInputs.property which caused statically compiled plugin code to
  use the wrong method when calling TaskInputs.property(..., null).
- Finally, when using --scan the build scan plugin is applied before
  other plugins to avoid rendering a warning message.
2017-11-16 14:52:21 +00:00
fhajny
cba796d791 Update devel/gradle to 4.3.
- Experimental build cache support for C and C++ compilation.
- Gradle Kotlin DSL v0.12
- You can now use the build scan plugin without configuring it in your
  build.
- Gradle now defines connection and socket timeouts for all HTTP(S)
  requests.
- The plugins {} DSL can now be used in more cases.
- The runtime task inputs API is now more consistent with the
  statically-compiled API.
- New console verbose mode will print outcomes of all tasks like Gradle
  3.5 and earlier did.
- New task output DirectoryProperty and RegularFileProperty types.
2017-11-01 18:22:18 +00:00
fhajny
f36415cda6 Update devel/gradle to 4.2.
Significant changes:

- Parallel native compilation and linking tasks
- Faster zipTree and tarTree
- Better support for script plugins from HTTP/HTTPS URLs
- Support for Google Cloud Storage backed repositories
- Better Play support
- Features for easier plugin authoring
- UX improvements
- Safer handling of stale output files
- Connect to untrusted HTTPS build cache

See full release notes:

  https://docs.gradle.org/4.2/release-notes.html
2017-09-26 08:18:26 +00:00
fhajny
5b587cd412 Update devel/gradle to 4.1.
Gradle 4.1

- Worker API for safe, concurrent work execution
- Build cache improvements
- Improved Composite Builds
- Console displays parallel test execution

  https://docs.gradle.org/4.1/release-notes.html

Gradle 4.0

- Parallel download of dependencies
- Build cache improvements
- Public type for representing lazily evaluated properties
- Configurable input normalization
- Convenience method for adding Google repository
- User experience improvements

  https://docs.gradle.org/4.0/release-notes.html

Gradle 3.5

- Faster builds with the Gradle Build Cache
- Console with a build summary and more detailed work-in-progress
- Kotlin Build Scripts
- Plugin resolution rules

  https://docs.gradle.org/3.5/release-notes.html
2017-09-11 16:01:30 +00:00
wiz
a1e4174a9c Follow some http redirects. 2017-08-16 20:21:03 +00:00
fhajny
ecceb98030 Update devel/gradle to 3.4. Fix the package to actually work.
Notable changes follow.

Gradle 3.4

- Compile Avoidance. We've introduced a new mechanism for up-to-date
  checking of Java compilation that is sensitive to public API changes
  only.
- A stable incremental Java compiler.
- brand new Java Library Plugin. Use this when building a component
  intended to be used as a dependency from another project.
- The JaCoCo plugin now allows you to enforce code coverage metrics and
  fail the build if they're not met.
- The default version of JaCoCo used by the JaCoCo plugin has been
  raised and the plugin is now Java 9-ready.
- The Checkstyle plugin now allows a maximum number of warnings or
  errors to be configured.

  https://docs.gradle.org/3.4/release-notes.html

Gradle 3.3

- This release of Gradle makes the gradle tasks report much faster for
  medium-to-large projects.
- It is now possible to compile native applications using Visual Studio
  2015.
- Kotlin build script support has further improved with significantly
  faster startup performance, increased API parity with Groovy-based
  build scripts, and better interoperability with Groovy plugins.
- Scala compilation startup time in large multi-project builds has been
  improved through enhancements to Gradle's integration with the Zinc
  Scala compiler.
- Tooling API generates more progress events.
- The Gradle GUI has been deprecated and will be removed in Gradle 4.0.

  https://docs.gradle.org/3.3/release-notes.html

Gradle 3.2.1

- GRADLE-3582: Gradle wrapper fails to escape arguments with nested
  quotes
- GRADLE-3583: Newlines in environment variables used by the wrapper
  breaks application plugin shell script

Gradle 3.2

- Incremental build support, which now has better up-to-date checking
  for Java compilation, copying, and archiving.
- The buildDependents task is now available in native builds as well via
  new assembleDependents and buildDependents tasks.
- Significantly improved import times.
- Improved support for multi-project builds with Kotlin.
- The shortcut syntax for declaring tasks (via <<) has now been
  deprecated.

  https://docs.gradle.org/3.2/release-notes.html

Gradle 3.1

- Composite Builds for multi-project builds where not all projects are
  in the same directory hierarchy.
- Incremental Build support.
- Faster dependency resolution.
- Build cancellation has improved when using the Daemon.

  https://docs.gradle.org/3.1/release-notes.html
2017-02-28 08:16:09 +00:00
wiz
c117182daf Improve version. 2017-02-07 00:04:40 +00:00
maya
66b0350c9a Add package gradle.
Gradle is a Java based build tool which allows creating
project build scripts using a domain-specific language
based on Groovy.

Packaged on pkgsrc-wip by asiekierka, thanks!
2017-02-06 22:25:24 +00:00