-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.4.10'] was not found in any of the following sources #19
Comments
gradle usually prefers local wrapper instead of the system installation. I'll try to replicate this issue when I have time. |
Hm.. works fine bash gradlew run Downloading https://services.gradle.org/distributions/gradle-6.6.1-bin.zip
.........10%..........20%..........30%..........40%.........50%..........60%..........70%..........80%..........90%.........100%
Welcome to Gradle 6.6.1!
Here are the highlights of this release:
- Experimental build configuration caching
- Built-in conventions for handling credentials
- Java compilation supports --release flag
For more details see https://docs.gradle.org/6.6.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
Project : => no module-info.java found
> Task :run
сент. 28, 2021 1:17:41 PM tornadofx.Stylesheet$Companion detectAndInstallUrlHandler
INFO: Installing CSS url handler, since it was not picked up automatically
BUILD SUCCESSFUL in 1m 37s
3 actionable tasks: 3 executed |
I am also having problems due to this. Here is a simple example that fails with a gradle 7.2 snap, but works with the binary 7.2 release.
|
This only reproduces when you use the snap version of Gradle. The command output you gave appears to be the "gradlew" version which will not use the snap version. You should see "javaHome=/snap/gradle/.../usr/lib/jvm/java-16-openjdk-amd64" about 50~ lines into the the --debug output. |
Have the same issue in Android project. Android Studio project by default uses a gradle wrapper, no system installed one (no snap installation of gradle) |
Hello!
Fresh installation ubuntu 20.04
Installation gradle 7.2 from snap causes error:
Removing gradle via snap, install gradle 7.2 from sdkman, works fine.
Repo to execute
gradle run
command for reproducinghttps://gitlab.com/kattrielle/tableviewenterproblem
The text was updated successfully, but these errors were encountered: