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
DawsonOP14mo ago
Tried copying off sonatype, maven central, docs, and even an existing bot
Dawson
DawsonOP14mo 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
DawsonOP14mo 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
gdude14mo ago
Hmm Let me take a look I don't see anything obviously wrong Let me make sure my sonatype account is okay
Dawson
DawsonOP14mo ago
👍 OHHHHHH
gdude
gdude14mo ago
Yeah, seems fine
Solution
Dawson
Dawson14mo ago
Didnt know that would throw an error
kotlin {
jvmToolchain(8) // <- this should be 17
}
kotlin {
jvmToolchain(8) // <- this should be 17
}
gdude
gdude14mo ago
Oh, yeah, you need.. What was it At least java 13
Dawson
DawsonOP14mo ago
Perfect, ty for the help! Have a good day
gdude
gdude14mo ago
No worries
Want results from more Discord servers?
Add your server