melone
melone
KEKord Extensions
Created by melone on 12/29/2024 in #kordex-support
Error registering slash commands
No description
58 replies
KEKord Extensions
Created by melone on 12/27/2024 in #kordex-support
Gradle plugin does not work
Hey, I want to try out Kordex, but if I want to apply the Gradle Plugin, I get this error:
Build file '/Users/xyz/Developer/GitHub/sharkbot/build.gradle.kts' line: 2

An exception occurred applying plugin request [id: 'dev.kordex.gradle.kordex', version: '1.5.8']
> Failed to apply plugin 'dev.kordex.gradle.kordex'.
> Could not create plugin of type 'KordExPlugin'.
> 'org.gradle.api.problems.ProblemReporter org.gradle.api.problems.Problems.forNamespace(java.lang.String)'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Build file '/Users/xyz/Developer/GitHub/sharkbot/build.gradle.kts' line: 2

An exception occurred applying plugin request [id: 'dev.kordex.gradle.kordex', version: '1.5.8']
> Failed to apply plugin 'dev.kordex.gradle.kordex'.
> Could not create plugin of type 'KordExPlugin'.
> 'org.gradle.api.problems.ProblemReporter org.gradle.api.problems.Problems.forNamespace(java.lang.String)'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
My buildscript:
plugins {
val kotlinVersion = "2.1.0"

kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("dev.kordex.gradle.kordex") version "1.5.8"
}
plugins {
val kotlinVersion = "2.1.0"

kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("dev.kordex.gradle.kordex") version "1.5.8"
}
settings.gradle.kts:
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()

maven("https://snapshots-repo.kordex.dev")
maven("https://releases-repo.kordex.dev")
}
}
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()

maven("https://snapshots-repo.kordex.dev")
maven("https://releases-repo.kordex.dev")
}
}
12 replies