orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
512 stars 53 forks source link

Gradle build warnings and project status #394

Closed lokedhs closed 3 years ago

lokedhs commented 3 years ago

I've integrated Orchid in a Kotlin multi-platform project, and when building I'm getting the following error:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

As far as I can tell, this will cause the builds to stop working once the project is migrated to Gradle 7.0.

Is this something that will be fixed at some point?

Related, this makes me wonder what is the current status of Orchid? As far as I can tell, there seems to have been no activity since the middle of 2020 (last commit in June, I believe?).

SnakeSVx commented 3 years ago

Seems like it's only file that needs to be adjusted for it.

In buildSrc/build.gradle.kts

runtime(project(":orchidPlugin"))

most likely needs to be replaced with

runtimeOnly(project(":orchidPlugin"))

https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations

cjbrooks12 commented 3 years ago

Yes, the suggestion from SnakeSVx should be all that's needed, the actual Orchid Gradle plugin is doing very little and shouldn't be using any deprecated apis.

cjbrooks12 commented 3 years ago

As for the status of Orchid, it's not dead, I just got unexpectedly busy over the past year. You can read the full announcement on the blog https://orchid.run/news/2021-5-13/whats-up-with-orchid