"Could not resolve org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0." Error
See original GitHub issueWhen trying to add to my gradle on a fresh project I am unable to resolve the dependency. I tried clearing my cache, refreshing my dependencies, and everything else downloads fine but not "org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0."
The error thrown by Intellij is:
Could not resolve org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0.
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Here is my build.gradle:
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
}
group = 'me.haydenkai'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.jetbrains.kotlin:kotlin-test:1.6.0'
implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0'
}
test {
useJUnit()
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
"Could not resolve org.jetbrains.intellij.deps:asm-all" localhost
I'm upgrading " org.jetbrains.intellij. from 0.6.5 to latest 1.4.0 and ran into this problem. (0.6.5 worked fine)
Read more >Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10
It may be the case that you have configured your system to use a local proxy server, but it's not actually running on...
Read more >Plugin is included in composite-build cannot resolve org ...
Could not resolve all task dependencies for configuration ... Could not find org.jetbrains:annotations:19.0.0. Searched in the following ...
Read more >[Fixed] Could not resolve org.jetbrains.kotlin:kotlin-gradle ...
When you create an empty activity Android project using Kotlin in Android Studio, you might get this error at the beginning during the ......
Read more >Fix Error Android Studio: Could not find org.jetbrains.kotlin ...
Solucion al Error en android Studio con el Gradle Could not find org. jetbrains.kotlin:kotlin-gradle-plugin:15.0-release-764 Siguenos en ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the quick response. Looks like we are trying to use Kotlin Data Science libs with Kotlin 1.5 and 1.6 at this moment with the jdk 11 and higher, but I’ll raise the question about jdk 8 support
Changing Project SDK (File -> Project Structure -> (Project Settings) Project -> Project SDK) to jdk 11 fixed the issue. Then I had to change the demo project’s build.gradle jvm target to match (
kotlinOptions.jvmTarget = "11"
)Would be great if we could use Java/JDK 8 here but this fixed the issue for me