Gradle plugin for 2.0.3 throws not found errors
See original GitHub issueWhen trying to use the 2.0.3 gradle plugin I get:
./gradlew clean check
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'elasticcc-app'.
> Could not resolve all files for configuration ':classpath'.
> Could not find jte-kotlin-2.0.3.jar (gg.jte:jte-kotlin:2.0.3).
Searched in the following locations:
https://plugins.gradle.org/m2/gg/jte/jte-kotlin/2.0.3/jte-kotlin-2.0.3.jar
> Could not find jte-2.0.3.jar (gg.jte:jte:2.0.3).
Searched in the following locations:
https://plugins.gradle.org/m2/gg/jte/jte/2.0.3/jte-2.0.3.jar
* 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 FAILED in 296ms
My gradle setup is (just for reference, maybe I did something stupid without realising…):
plugins {
id 'application'
id "com.github.ben-manes.versions" version "0.42.0"
id "gg.jte.gradle" version "2.0.3"
id 'de.thetaphi.forbiddenapis' version '3.3'
}
repositories {
mavenCentral()
}
Issue Analytics
- State:
- Created a year ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How to fix "plugin was not found in any of the following sources"
In my case, the issue was incorrect Gradle JVM version had to be changed in the gradle settings. On changing the gradle JVM...
Read more >"Unable to resolve dependency" errors when opening ...
I'm seeing errors when opening the Android module of a fresh Flutter Plugin project's example project. Sample error:
Read more >Upgrading your build from Gradle 6.x to the latest
Run gradle wrapper --gradle-version 7.0 to update the project to 7.0. Try to run the project and debug any errors using the Troubleshooting...
Read more >Fix "Error Could not find method implementation() for ...
If application dependencies are added in the Project level build.gradle file, it throws the error “Could not find implementation() method”.
Read more >Gradle Enterprise Gradle Plugin User Manual
Build scans are not automatically published after applying the plugin. The following describes the options available for controlling when to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Was it a cache issue? I can retrieve it fine now. 😸
Thanks, glad it’s working now!
My guess is, that it just took some time for the maven central dependency to appear in the gradle artifactory cache.