gesellix / gradle-docker-plugin

Gradle Docker plugin
MIT License
80 stars 17 forks source link

Update docker-client to support Kotlin 1.9 #328

Closed huehnerlady closed 1 year ago

huehnerlady commented 1 year ago

Hi Tobias 😉

We have the problem, that our dependabot updates for kotlin 1.9.0 run into the following issue:

* What went wrong:
A problem occurred configuring root project 'gradle-project'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-scripting-jvm:1.9.0.
     Required by:
         project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.0 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0 > org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.9.0
      > Cannot find a version of 'org.jetbrains.kotlin:kotlin-scripting-jvm' that satisfies the version constraints:
           Dependency path 'gradle-project:unspe***fied' --> 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.0' (runtime) --> 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0' (gradle81RuntimeElements) --> 'org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.9.0' (runtime) --> 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.9.0'
           Constraint path 'gradle-project:unspe***fied' --> 'de.europace.docker-publish:de.europace.docker-publish.gradle.plugin:1.4.4' (runtime) --> 'de.europace.gradle:docker-publish-gradle-plugin:1.4.4' (runtimeElements) --> 'de.gesellix:gradle-docker-plugin:2023-05-08T08-15-00' (runtimeElements) --> 'de.gesellix:docker-client:2023-05-07T23-22-00' (runtimeElements) --> 'de.gesellix:docker-compose:2023-05-01T14-09-00' (runtimeElements) --> 'org.jetbrains.kotlin:kotlin-scripting-jvm:{strictly [1.6,1.9); prefer 1.8.21}'

   > Could not resolve org.jetbrains.kotlin:kotlin-scripting-jvm:{strictly [1.6,1.9); prefer 1.8.21}.
     Required by:
         project : > de.europace.docker-publish:de.europace.docker-publish.gradle.plugin:1.4.4 > de.europace.gradle:docker-publish-gradle-plugin:1.4.4 > de.gesellix:gradle-docker-plugin:2023-05-08T08-15-00 > de.gesellix:docker-client:2023-05-07T23-22-00 > de.gesellix:docker-compose:2023-05-01T14-09-00
      > Cannot find a version of 'org.jetbrains.kotlin:kotlin-scripting-jvm' that satisfies the version constraints:
           Dependency path 'gradle-projectr:unspe***fied' --> 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.0' (runtime) --> 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0' (gradle81RuntimeElements) --> 'org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.9.0' (runtime) --> 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.9.0'
           Constraint path 'gradle-project:unspe***fied' --> 'de.europace.docker-publish:de.europace.docker-publish.gradle.plugin:1.4.4' (runtime) --> 'de.europace.gradle:docker-publish-gradle-plugin:1.4.4' (runtimeElements) --> 'de.gesellix:gradle-docker-plugin:2023-05-08T08-15-00' (runtimeElements) --> 'de.gesellix:docker-client:2023-05-07T23-22-00' (runtimeElements) --> 'de.gesellix:docker-compose:2023-05-01T14-09-00' (runtimeElements) --> 'org.jetbrains.kotlin:kotlin-scripting-jvm:{strictly [1.6,1.9); prefer 1.8.21}'

Could you please release a new version of the plugin with the docker client supporting kotlin 1.9?

gesellix commented 1 year ago

Oops. Will do, is already work in progress :)

gesellix commented 1 year ago

A new release is available as version 2023-08-16T09-45-00, Maven Central will need some time (15 minutes to some hours) to propagate the artifacts, so that dependabot would pick up the new release. Gradle should find it already via https://plugins.gradle.org/plugin/de.gesellix.docker, though.

gesellix commented 1 year ago

@huehnerlady I'm closing now, please file another issue is something isn't working as expected!