Commit 7e1f927
authored
Gradle modernization
Added buildSrc, library conventions and language based configurations.
- Updated to Gradle 8 (JAVA-5756)
- Added libs.versions.toml (JAVA-5291)
- Removed `util:taglets` as now in `buildSrc`.
- Moved `util:spock` into `driver-core` as the annotation is now shared via `testArtifacts`.
- Added optional support (JAVA-5757)
Migrated tests to work with conventions:
- Refactored `JsonPoweredTestHelper` to handle either local and jar based resources
- Added test artifacts dependencies convention for use with test artifact jars.
- Refactored test cases to use new `JsonPoweredTestHelper.getTestDocuments` method
- Refactored test cases to normalize usage of loading test data
- Moved scala / kotlin integration tests into a standardized `integerationTest` directory
Updated github action and put version in `gradle.properties`.
#1642
#1654
JAVA-5291
JAVA-5756
JAVA-5757
JAVA-57581 parent a3383f7 commit 7e1f927
File tree
267 files changed
+3329
-3293
lines changed- .evergreen
- .github/workflows
- bom
- bson-kotlinx
- bson-kotlin
- bson-record-codec
- bson-scala
- src/test/scala/org/mongodb/scala/bson
- codecs
- bson
- src/test/unit
- org/bson
- vector
- util
- buildSrc
- src/main
- java/com/mongodb/doclet
- kotlin
- conventions
- project
- config
- detekt
- spock
- driver-benchmarks
- driver-core
- src/test
- functional/com/mongodb
- client/model
- connection/netty
- internal
- connection
- operation
- unit/com/mongodb
- connection
- internal/connection
- spock
- driver-kotlin-coroutine
- src/integrationTest/kotlin/com/mongodb/kotlin/client/coroutine
- syncadapter
- driver-kotlin-extensions
- src/test/kotlin/com/mongodb/kotlin/client/model
- driver-kotlin-sync
- src/integrationTest/kotlin/com/mongodb/kotlin/client
- syncadapter
- driver-lambda
- driver-legacy
- src/test/functional/com/mongodb
- driver-reactive-streams
- src/test/functional/com/mongodb/reactivestreams/client
- unified
- driver-scala
- src
- integrationTest/scala
- org/mongodb/scala
- documentation
- gridfs
- syncadapter
- tour
- test/scala/org/mongodb/scala
- driver-sync
- src/test/functional/com/mongodb/client
- unified
- driver-workload-executor
- graalvm-native-image-app
- src/main
- com/mongodb/internal/graalvm
- resources/META-INF/native-image
- gradle
- wrapper
- mongodb-crypt
- util/spock/src/main/util/spock/annotations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
267 files changed
+3329
-3293
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1875 | 1875 | | |
1876 | 1876 | | |
1877 | 1877 | | |
1878 | | - | |
| 1878 | + | |
1879 | 1879 | | |
1880 | 1880 | | |
1881 | 1881 | | |
1882 | | - | |
| 1882 | + | |
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
1886 | | - | |
| 1886 | + | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
4 | 28 | | |
5 | 29 | | |
6 | 30 | | |
| |||
21 | 45 | | |
22 | 46 | | |
23 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 19 | + | |
33 | 20 | | |
34 | 21 | | |
35 | 22 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 23 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 24 | | |
46 | | - | |
| 25 | + | |
47 | 26 | | |
48 | | - | |
| 27 | + | |
49 | 28 | | |
50 | 29 | | |
51 | 30 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
82 | 36 | | |
83 | 37 | | |
84 | 38 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 39 | + | |
0 commit comments