File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed
tensorflow-core-kotlin/tensorflow-core-kotlin-api Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 3333 <properties >
3434 <!-- Match version used by TensorFlow, in tensorflow/workspace.bzl -->
3535 <protobuf .version>3.8.0</protobuf .version>
36+ <javacpp .platform.extension></javacpp .platform.extension>
3637 </properties >
3738
3839 <dependencies >
5152 <artifactId >junit-jupiter-engine</artifactId >
5253 <scope >test</scope >
5354 </dependency >
55+ <dependency >
56+ <groupId >org.openjdk.jmh</groupId >
57+ <artifactId >jmh-core</artifactId >
58+ <scope >test</scope >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.openjdk.jmh</groupId >
62+ <artifactId >jmh-generator-annprocess</artifactId >
63+ <scope >test</scope >
64+ </dependency >
65+ <!-- Include native binaries dependencies only for testing -->
66+ <dependency >
67+ <groupId >org.tensorflow</groupId >
68+ <artifactId >tensorflow-core-platform${javacpp.platform.extension}</artifactId >
69+ <version >${project.version} </version >
70+ <scope >test</scope >
71+ </dependency >
5472 </dependencies >
5573
5674 <profiles >
446464 </goals >
447465 </execution >
448466 </executions >
449- <configuration >
450- <additionalClasspathElements >
451- <additionalClasspathElement >${project.build.directory} /${project.artifactId} -${project.version} -${native.classifier} .jar
452- </additionalClasspathElement >
453- <!-- Note: the following path is not accessible in deploying profile, so other libraries like
454- OpenMP must be installed manually when running the tests -->
455- <additionalClasspathElement >${project.build.directory} /native/</additionalClasspathElement >
456- </additionalClasspathElements >
457- </configuration >
458467 </plugin >
459468 <!-- <plugin>-->
460469 <!-- <artifactId>maven-source-plugin</artifactId>-->
You can’t perform that action at this time.
0 commit comments