This message was deleted.
# community-support
s
This message was deleted.
n
can you show the relevant part of your build script? how are you declaring the plugin dependency?
d
Copy code
plugins {
    id 'java'
    id 'idea'
    id 'com.gorylenko.gradle-git-properties' version '2.2.3' // note, upgrade when moving to new gradle
}
it seems like a more general plugin issue, since when I comment the gorylenko plugin it fails in similar manner with other plugins for example: "Plugin [id: 'org.flywaydb.flyway', version: '5.2.4'] was not found in any of the following sources:"
n
does it give you more information if you run with
--stacktrace
? ( or perhaps
--debug
) It’s been ages since I worked with gradle 4.x, so 🤷
d
2022-07-12 125856,045 [1214314] INFO - #o.j.p.g.s.p.GradleProjectResolver - Gradle project resolve error org.gradle.tooling.BuildException: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-4.10.3-all.zip'. at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51) at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29) at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:43) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:69) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'C:\git\hem-app-monolith\core\build.gradle' line: 4 Plugin [id: 'com.gorylenko.gradle-git-properties', version: '2.2.3'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'com.gorylenko.gradle-git-propertiescom.gorylenko.gradle git properties.gradle.plugin2.2.3') Searched in the following repositories: Gradle Central Plugin Repository at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:263) at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.access$100(DefaultPluginRequestApplicator.java:63) at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1.transform(DefaultPluginRequestApplicator.java:91) at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1.transform(DefaultPluginRequestApplicator.java:88) at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:204) at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:199)
Problem solved with different Java SDK version.
👌 1