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 33
33
<properties >
34
34
<!-- Match version used by TensorFlow, in tensorflow/workspace.bzl -->
35
35
<protobuf .version>3.8.0</protobuf .version>
36
+ <javacpp .platform.extension></javacpp .platform.extension>
36
37
</properties >
37
38
38
39
<dependencies >
51
52
<artifactId >junit-jupiter-engine</artifactId >
52
53
<scope >test</scope >
53
54
</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 >
54
72
</dependencies >
55
73
56
74
<profiles >
446
464
</goals >
447
465
</execution >
448
466
</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 >
458
467
</plugin >
459
468
<!-- <plugin>-->
460
469
<!-- <artifactId>maven-source-plugin</artifactId>-->
You can’t perform that action at this time.
0 commit comments