Skip to content

Instantly share code, notes, and snippets.

@ToxicMushroom
Last active October 31, 2021 13:31
Show Gist options
  • Save ToxicMushroom/eb19fac25e2acf9a5fd0dc554e5da408 to your computer and use it in GitHub Desktop.
Save ToxicMushroom/eb19fac25e2acf9a5fd0dc554e5da408 to your computer and use it in GitHub Desktop.
F:\Coding\Kotlin\melijn-bot>gradlew -Dkotlin.daemon.jvm.options="-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=n" clean assemble
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':annotation-processors', ':bot'
> Task :bot:generateMainAnilistApolloSources
Field 'seasonInt' is marked as not deprecated but provided a reason. Marking as deprecated
> Task :annotation-processors:compileKotlin
'compileJava' task (current target is 15) and 'compileKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
Could not perform incremental compilation: Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
annotation-processors\src\main\kotlin\me\melijn\annotationprocessors\cacheable\CacheableProcessor.kt:45:13: warning: the expression is unused
classDeclaration
^
> Task :bot:kspKotlin
Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
> Task :bot:compileKotlin
Could not perform incremental compilation: Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
bot\src\main\kotlin\me\melijn\bot\Melijn.kt:22:14: warning: this class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn'
@OptIn(PrivilegedIntent::class)
^
bot\src\main\kotlin\me\melijn\bot\database\DBManager.kt:44:22: warning: unchecked cast: IdTable<ID> to T
(idTable as T).insertOrUpdate(insert, update)
^
bot\src\main\kotlin\me\melijn\bot\database\model\GuildSettings.kt:28:6: warning: this class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn'
@OptIn(ExperimentalUnsignedTypes::class)
^
> Task :bot:shadowJar FAILED
w: Detected multiple Kotlin daemon sessions at build\kotlin\sessions
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bot:shadowJar'.
> shadow.org.apache.tools.zip.Zip64RequiredException: archive contains more than 65535 entries.
To build this archive, please enable the zip64 extension.
See: https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.bundling.Zip.html#org.gradle.api.tasks.bundling.Zip:zip64
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 41s
19 actionable tasks: 17 executed, 2 up-to-date
F:\Coding\Kotlin\melijn-bot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment