Skip to content

Commit

Permalink
Update the_java_plugin/java_plugin_resources.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DONGChuan committed Sep 8, 2015
1 parent 4dea06f commit f567832
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions the_java_plugin/java_plugin_resources.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
## 22.10.资源
Java插件使用[Copy](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Copy.html)任务处理资源.它为项目每个source set增加了一个实例.可以参考[Section 15.6, "Copying files"](https://docs.gradle.org/current/userguide/working_with_files.html#sec:copying_files)获取关于copy任务的信息.

**表22.12.java插件-ProcessResources配置**
Java 插件使用 [Copy](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Copy.html) 任务处理资源. 它为项目每个 source set 都增加了一个实例. 可以参考[Section 15.6, "Copying files"](https://docs.gradle.org/current/userguide/working_with_files.html#sec:copying_files) 获取关于copy任务的信息.

任务属性 | 类型 | 默认值
**表22.12.java 插件- ProcessResources 的属性**

任务属性 | 类型 | 默认值
-------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -----------------------------
srcDirs | Object.可以在[Section 15.5, “Specifying a set of input files”](https://docs.gradle.org/current/userguide/working_with_files.html#sec:specifying_multiple_files)中查看使用什么 | sourceSet.resources
srcDirs | Object.可以在[Section 15.5, “Specifying a set of input files”](https://docs.gradle.org/current/userguide/working_with_files.html#sec:specifying_multiple_files)中查看使用什么 | sourceSet.resources
destinationDir | File.可以再[Section 15.1, “Locating files”](https://docs.gradle.org/current/userguide/working_with_files.html#sec:locating_files)查看使用什么 | sourceSet.output.resourcesDir

0 comments on commit f567832

Please sign in to comment.