Cannot import via gradle

Just setting up a new project. Depen: implementation("com.kotlindiscord.kord.extensions:kord-extensions:1.5.6") repo contains mavenCentral(), gradle is verion 8.2 Error: (Could Not Resolve: URI): https://paste.learnspigot.com/eyakecayet.csharp
LearnSpigot: Send and save code snippets on our pastebin
LearnSpigot provides a free web-based pastebin service for storing and sharing code snippets with anyone. Powered by hastebin.
Solution:
Didnt know that would throw an error ```kt kotlin { jvmToolchain(8) // <- this should be 17...
Jump to solution
10 Replies
Dawson
DawsonOP15mo ago
Tried copying off sonatype, maven central, docs, and even an existing bot
Dawson
DawsonOP15mo ago
LearnSpigot: Send and save code snippets on our pastebin
LearnSpigot provides a free web-based pastebin service for storing and sharing code snippets with anyone. Powered by hastebin.
Dawson
DawsonOP15mo ago
I tried using the toml file for imports but I was under the impression I was doing something wrong there as Ive never used it before so I implemented manually .9-SNAPSHOT (from the template bot) and uncommenting sonatype snapshots still doesnt work either
gdude
gdude15mo ago
Hmm Let me take a look I don't see anything obviously wrong Let me make sure my sonatype account is okay
Dawson
DawsonOP15mo ago
👍 OHHHHHH
gdude
gdude15mo ago
Yeah, seems fine
Solution
Dawson
Dawson15mo ago
Didnt know that would throw an error
kotlin {
jvmToolchain(8) // <- this should be 17
}
kotlin {
jvmToolchain(8) // <- this should be 17
}
gdude
gdude15mo ago
Oh, yeah, you need.. What was it At least java 13
Dawson
DawsonOP15mo ago
Perfect, ty for the help! Have a good day
gdude
gdude15mo ago
No worries
Want results from more Discord servers?
Add your server