tabilzad / ktor-docs-plugin

Provides Ktor Swagger support
34 stars 6 forks source link

Issues deploying to app engine #15

Closed GreaseMonk closed 3 months ago

GreaseMonk commented 3 months ago

Locally i can run the client and everything works perfectly. When deploying to google app engine, i'm getting the following error message and hoping you could help.

./gradlew appengineDeploy
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'wampex'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve io.github.tabilzad:ktor-docs-plugin-gradle:0.6.0-alpha.
     Required by:
         project : > io.github.tabilzad.ktor-docs-plugin-gradle:io.github.tabilzad.ktor-docs-plugin-gradle.gradle.plugin:0.6.0-alpha
      > No matching variant of io.github.tabilzad:ktor-docs-plugin-gradle:0.6.0-alpha was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.4' but:
          - Variant 'apiElements' capability io.github.tabilzad:ktor-docs-plugin-gradle:0.6.0-alpha declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')
          - Variant 'runtimeElements' capability io.github.tabilzad:ktor-docs-plugin-gradle:0.6.0-alpha declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')
          - Variant 'sourcesElements' capability io.github.tabilzad:ktor-docs-plugin-gradle:0.6.0-alpha declares a component for use during runtime, and its dependencies declared externally:
              - Incompatible because this component declares documentation and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about its target Java version (required compatibility with Java 8)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')
GreaseMonk commented 3 months ago

Actually, my local terminal was still using java 8, my bad