|
1 | | -import me.champeau.jmh.JmhBytecodeGeneratorTask |
2 | 1 | import org.gradle.internal.os.OperatingSystem |
3 | | - |
4 | 2 | import java.time.Duration |
5 | 3 |
|
6 | 4 | plugins { |
@@ -81,6 +79,9 @@ dependencies { |
81 | 79 | jmhImplementation group: 'com.google.guava', name: 'guava', version: '33.4.0-jre' |
82 | 80 | compileOnly group: 'com.github.plokhotnyuk.jsoniter-scala', name: 'jsoniter-scala-macros_2.13', version: jsoniterScalaVersion |
83 | 81 |
|
| 82 | + jmhImplementation group: 'org.openjdk.jmh', name: 'jmh-core', version: '1.37' |
| 83 | + jmhImplementation group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: '1.37' |
| 84 | + jmhAnnotationProcessor group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: '1.37' |
84 | 85 | testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.27.3' |
85 | 86 | testImplementation group: 'org.apache.commons', name: 'commons-text', version: '1.13.0' |
86 | 87 | testImplementation group: 'org.junit-pioneer', name: 'junit-pioneer', version: '2.3.0' |
@@ -123,7 +124,7 @@ tasks.register('downloadTestData', Exec) { |
123 | 124 | } |
124 | 125 | } |
125 | 126 |
|
126 | | -// Configuration common to ALL Test tasks (including 'test', 'test256', 'test512') |
| 127 | +// Configuration common to ALL Test tasks |
127 | 128 | tasks.withType(Test).configureEach { |
128 | 129 | dependsOn tasks.named('downloadTestData') |
129 | 130 |
|
@@ -171,7 +172,8 @@ tasks.named('check') { |
171 | 172 | dependsOn tasks.named('test512') |
172 | 173 | } |
173 | 174 |
|
174 | | -tasks.withType(JmhBytecodeGeneratorTask).configureEach { |
| 175 | +// Fix: Use Fully Qualified Name here instead of importing it at the top |
| 176 | +tasks.withType(me.champeau.jmh.JmhBytecodeGeneratorTask).configureEach { |
175 | 177 | jvmArgs.set(["--add-modules=jdk.incubator.vector"]) |
176 | 178 | } |
177 | 179 |
|
|
0 commit comments