mobanisto / pinpit-gradle-plugin

Platform Independent Native Packaging and Installer Toolkit
Apache License 2.0
46 stars 0 forks source link

Deprecation of implicit dependencies / Possible incompatibility with Gradle 8.0 #37

Open sebkur opened 5 months ago

sebkur commented 5 months ago
./gradlew publishPlugins --warning-mode all                                                                                                                                                

> Task :pinpit:sourcesJar                                                                                                                                                                                                                     
Execution optimizations have been disabled for task ':pinpit:sourcesJar' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/generated/buildconfig'. Reason: Task ':pinpit:sourcesJar' uses this output of task ':pinpit:buildConfig' without declar
ing an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependenc
y for more details about this problem.
Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/generated/buildconfig'. Reason: Task ':pinpit:sourcesJar' uses this output of task ':pinpit:buildConfig' without declaring 
an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency fo
r more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.3.3/userguide/more_about_tasks.h
tml#sec:up_to_date_checks for more details.

> Task :pinpit:publishPluginJar                                                                                                                                                                                                               
Execution optimizations have been disabled for task ':pinpit:publishPluginJar' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/generated/buildconfig'. Reason: Task ':pinpit:publishPluginJar' uses this output of task ':pinpit:buildConfig' without 
declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dep
endency for more details about this problem.
  - Gradle detected a problem with the following location: '..../mobanisto/pinpit-gradle-plugin/pinpit/build/libs/pinpit-0.7.1-sources.jar'. Reason: Task ':pinpit:generateMetadataFileForPluginMavenPublication' uses this output o
f task ':pinpit:publishPluginJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userg
uide/validation_problems.html#implicit_dependency for more details about this problem.
Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/generated/buildconfig'. Reason: Task ':pinpit:publishPluginJar' uses this output of task ':pinpit:buildConfig' without decl
aring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_depende
ncy for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.3.3/userguide/more_about_t
asks.html#sec:up_to_date_checks for more details.
Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/libs/pinpit-0.7.1-sources.jar'. Reason: Task ':pinpit:generateMetadataFileForPluginMavenPublication' uses this output of ta
sk ':pinpit:publishPluginJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide
/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://do
cs.gradle.org/7.3.3/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

> Task :pinpit:publishPluginJavaDocsJar
Execution optimizations have been disabled for task ':pinpit:publishPluginJavaDocsJar' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/libs/pinpit-0.7.1-javadoc.jar'. Reason: Task ':pinpit:generateMetadataFileForPluginMavenPublication' uses this output o
f task ':pinpit:publishPluginJavaDocsJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3
.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Gradle detected a problem with the following location: '.../mobanisto/pinpit-gradle-plugin/pinpit/build/libs/pinpit-0.7.1-javadoc.jar'. Reason: Task ':pinpit:generateMetadataFileForPluginMavenPublication' uses this output of ta
sk ':pinpit:publishPluginJavaDocsJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/u
serguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See ht
tps://docs.gradle.org/7.3.3/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
sebkur commented 5 months ago

I think it might have to do with us using a very old id("com.gradle.plugin-publish") version "0.17.0" (from Novemeber 2021). I think I looked into a migration before and it seemed anything but straightforward.