Hi! I'm struggling with this error: <https://gist....
# gradle
g
Hi! I'm struggling with this error: https://gist.github.com/gabrielleeg1/4368e838f75d1333f7da962abef32933 And the build script for the
buildSrc
file is simply:
Copy code
plugins {
    `kotlin-dsl`
}

repositories {
    maven("<https://plugins.gradle.org/m2/>")
    mavenCentral()
}
Can anyone help me?
e
Gradle Plugin Portal forwards to JCenter for historical reasons. JCenter is currently unusable because the Bintray certificate has expired.
as long as your dependencies are available there, you should put
mavenCentral()
above
maven("<https://plugins.gradle.org/m2/>")
(which has the shorthand
gradlePluginPortal()
)
and do the same in
Copy code
pluginManagement {
    repositories {
see https://github.com/gradle/gradle/issues/15406 if you need something to copy-paste
g
Hmm it worked well, thank you very much!
197 Views