Skip to content

Commit 28e6ba7

Browse files
committed
Use extension instead of platform
Signed-off-by: Ryan Nett <[email protected]>
1 parent 8293765 commit 28e6ba7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: tensorflow-kotlin-parent/tensorflow-kotlin-jupyter/src/main/kotlin/org/tensorflow/jupyter/TensorflowKotlinIntegration.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public class TensorflowKotlinIntegration : JupyterIntegration() {
4444
"No version property found in the $tensorflowPropertiesFile resource, did you overwrite it?")
4545
}
4646

47-
// TODO use ext instead of platform https://github.com/Kotlin/kotlin-jupyter/issues/285
48-
dependencies("org.tensorflow:tensorflow-core-platform-gpu:$version")
47+
dependencies("org.tensorflow:tensorflow-core-api:jar:$ext:$version")
4948
dependencies("org.tensorflow:tensorflow-core-kotlin-jupyter:$version")
5049
}
5150
}

0 commit comments

Comments
 (0)