Found a fix (at least for the kotlin jvm plugin)
// settings.gradle
pluginManagement {
repositories {
maven {
url 'https://repo1.maven.org/maven2/'
}
gradlePluginPortal()
}
}
I checked the maven repository if it has the kotlin plugin and i just prioritized it before the dead gradle portal.