当前位置: > Linux新闻 >

项目自动化构建工具 Gradle 4.9 发布,包含大量改进

时间:2018-07-17 12:48来源:linux.it.net.cn 作者:IT

Gradle 团队宣布 Gradle 4.9 正式可用,升级命令:

./gradlew wrapper --gradle-version=4.9

或通过 gradle.org/install 单独下载。

更新亮点

Command line args supported by JavaExec

  • Command line arguments can be passed to JavaExec with --args

Improved dependency insight report

  • using failOnVersionConflict() no longer fails the dependency insight report in case of conflict

  • all participants of conflict resolution are shown

  • modules which were rejected by a rule are displayed

  • modules which didn't match the version selector but were considered in selection are shown

  • all custom reasons for a component selection are shown

  • ability to restrict the report to one path to each dependency, for readability

  • resolution failures are displayed in the report

Continuing development of Native ecosystem

Continuing development of Native ecosystem

The Gradle Native project continues to improve and evolve the native ecosystem support for Gradle.

Faster clean checkout builds

  • Gradle now stores more state in the Gradle user home instead of the project directory.

Java and Groovy compiler no longer leak file descriptors

Experimental new task API

更多细节可查阅发行说明



(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容