Commit cbaf955
committed
Allow lenient GitVersion creation (until 3.0)
Subprojects that do not need to use their own version will use the root
project's version. For now this is handled by catching failure of the
Git Version creation on the subproject, and trying to create one using
the root project instead.
Management of Git Version will be refined in GradleUtils 3.0. Consider
the usage of it an incubating feature until then.1 parent 9160c0c commit cbaf955
File tree
1 file changed
+18
-1
lines changed- src/main/groovy/net/minecraftforge/gradleutils/gitversion
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
72 | 89 | | |
73 | 90 | | |
74 | 91 | | |
| |||
0 commit comments