@@ -13,36 +13,51 @@ import javax.inject.Inject
13
13
* unpacked to a given directory in order to generate the final application.
14
14
* @author mmoquillon
15
15
*/
16
+ @SuppressWarnings (' unused' )
16
17
class SoftwareBundles {
17
18
18
- /**
19
- * All the software bundles that made Silverpeas. Those bundles are usually downloaded from our
20
- * own Software Repository by the Silverpeas installer. They are required to assemble and build
21
- * the final Silverpeas Web Application. The Jar libraries other than the supported JDBC drivers
22
- * aren't taken in charge.
23
- */
24
- @InputFiles
25
- final ConfigurableFileCollection silverpeas
26
-
27
- /**
28
- * Any tiers bundles to add into the Silverpeas Application being built. The tiers bundles are
29
- * processed differently by the plugin: only the JAR libraries are taken in charge.
30
- */
31
- @InputFiles
32
- final ConfigurableFileCollection tiers
33
-
34
- @Inject
35
- SoftwareBundles (Project project ) {
36
- silverpeas = project. files()
37
- tiers = project. files()
38
- }
39
-
40
- void setSilverpeas (FileCollection bundles ) {
41
- this . silverpeas. setFrom(bundles)
42
- }
43
-
44
- @SuppressWarnings (' unused' )
45
- void setTiers (FileCollection bundles ) {
46
- this . tiers. setFrom(bundles)
47
- }
19
+ /**
20
+ * All the software bundles that made Silverpeas. Those bundles are usually downloaded from our
21
+ * own Software Repository by the Silverpeas installer. They are required to assemble and build
22
+ * the final Silverpeas Web Application. The Jar libraries other than the supported JDBC drivers
23
+ * aren't taken in charge.
24
+ */
25
+ @InputFiles
26
+ final ConfigurableFileCollection silverpeas
27
+
28
+ /**
29
+ * Any tiers bundles to add into the Silverpeas Application being built. The tiers bundles are
30
+ * processed differently by the plugin: only the JAR libraries are taken in charge.
31
+ */
32
+ @InputFiles
33
+ final ConfigurableFileCollection tiers
34
+
35
+ /**
36
+ * Custom software bundles to complete or to add custom functionalities to Silverpeas. Those
37
+ * bundles are usually downloaded from our own or outer Software Repositories by the
38
+ * Silverpeas installer. The external repositories require to be declared. This is a way to
39
+ * include libraries dedicated to implement a customer requirement (like a workflow process for
40
+ * example).
41
+ */
42
+ @InputFiles
43
+ final ConfigurableFileCollection custom
44
+
45
+ @Inject
46
+ SoftwareBundles (Project project ) {
47
+ silverpeas = project. files()
48
+ tiers = project. files()
49
+ custom = project. files()
50
+ }
51
+
52
+ void setSilverpeas (FileCollection bundles ) {
53
+ this . silverpeas. setFrom(bundles)
54
+ }
55
+
56
+ void setTiers (FileCollection bundles ) {
57
+ this . tiers. setFrom(bundles)
58
+ }
59
+
60
+ void setCustom (FileCollection bundles ) {
61
+ this . custom. setFrom(bundles)
62
+ }
48
63
}
0 commit comments