Commit 7197f6f
committed
Library plugin should add dependency on core library using major version only
The plugin should add dependencies on the core library of the same version. However, there are 2 edge cases:
1) tests, where jar packaging with a version has not been done
2) the core library is published to maven central, whereas the plugin is published to Gradle Plugin Portal. Maven central has a much longer delay, so for a while, there is a state where the plugin ios available, but the corresponding core library is not yet available. In this case, we can match to the latest version of the same major version, which will solve the problem for any users who use dynamic minor or patch versions.1 parent 82d9d03 commit 7197f6f
File tree
1 file changed
+22
-1
lines changed- nebula-archrules-gradle-plugin/src/main/kotlin/com/netflix/nebula/archrules/gradle
1 file changed
+22
-1
lines changedLines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
101 | 122 | | |
0 commit comments