Skip to content

Commit 74dc202

Browse files
committed
Added module-info to tests
1 parent ff04d86 commit 74dc202

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

ndarray/src/main/java/module-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
module org.tensorflow.ndarray {
1818
requires jdk.unsupported; // required by raw buffer implementations using Unsafe
19-
requires java.desktop; // required for java.awt.*
2019

2120
exports org.tensorflow.ndarray;
2221
exports org.tensorflow.ndarray.buffer;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
Copyright 2022 The TensorFlow Authors. All Rights Reserved.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
=======================================================================
16+
*/
17+
module org.tensorflow.ndarray.test {
18+
requires java.desktop; // required for java.awt.*
19+
}

0 commit comments

Comments
 (0)