Piotr KrzemiĆski
11/09/2021, 1:00 PMFAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':buildSrc'.
> Could not resolve all artifacts for configuration ':buildSrc:classpath'.
> Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:2.1.4.
Required by:
project :buildSrc > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:2.1.4
> Could not resolve org.gradle.kotlin:gradle-kotlin-dsl-plugins:2.1.4.
> Could not get resource '<https://plugins.gradle.org/m2/org/gradle/kotlin/gradle-kotlin-dsl-plugins/2.1.4/gradle-kotlin-dsl-plugins-2.1.4.module>'.
> Could not GET '<https://jcenter.bintray.com/org/gradle/kotlin/gradle-kotlin-dsl-plugins/2.1.4/gradle-kotlin-dsl-plugins-2.1.4.module>'.
> PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
on Gradle 7.2 - a bunch of these:
> Could not resolve all artifacts for configuration ':buildSrc:classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.21.
Required by:
project :buildSrc
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.21.
> Could not get resource '<https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.21/kotlin-stdlib-jdk8-1.5.21.pom>'.
> Could not HEAD '<https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.21/kotlin-stdlib-jdk8-1.5.21.pom>'.
> PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.21.
Bintray was deprecated, right?kqr
11/09/2021, 1:05 PMPiotr KrzemiĆski
11/09/2021, 1:09 PMPiotr KrzemiĆski
11/09/2021, 1:09 PMtapchicoma
11/09/2021, 1:09 PM--offline
mode. If it will not work - no idea about workaround. Actual redirection to JCenter is done by Gradle plugin portalPiotr KrzemiĆski
11/09/2021, 1:13 PMPiotr KrzemiĆski
11/09/2021, 1:18 PMJavier
11/09/2021, 1:28 PMJavier
11/09/2021, 1:28 PMJavier
11/09/2021, 1:29 PMPiotr KrzemiĆski
11/09/2021, 1:30 PMJavier
11/09/2021, 1:30 PMPiotr KrzemiĆski
11/09/2021, 1:31 PMVampire
11/09/2021, 1:32 PMIMO those basic and important libs shouldn't be depend on JCenterThey don't actually
Javier
11/09/2021, 1:32 PMVampire
11/09/2021, 1:33 PMPiotr KrzemiĆski
11/09/2021, 1:33 PMVampire
11/09/2021, 1:34 PMVampire
11/09/2021, 1:34 PMVampire
11/09/2021, 1:35 PMhttps://jcenter.bintray.com/Â this should be accesible?Not anymore. All the web part and directory listings is forbidden now, but the artifacts are still served.
christophsturm
11/09/2021, 3:06 PMBut with the invalid certificate it was not able to complete the requestthats a gradle bug then. gradle should just try the next repo.
Vampire
11/09/2021, 3:16 PMVampire
11/09/2021, 3:16 PMVampire
11/09/2021, 3:16 PMVampire
11/09/2021, 3:16 PMVampire
11/09/2021, 3:18 PMmavenLocal
whenever you can and at most use it with explicit content filters, but not generally in a Gradle build, let alone as first entry.