Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile :packageJvmFatJarProguard #28

Closed
GiantNuker opened this issue Mar 30, 2019 · 1 comment
Closed

Can't compile :packageJvmFatJarProguard #28

GiantNuker opened this issue Mar 30, 2019 · 1 comment
Assignees

Comments

@GiantNuker
Copy link

This errors out. My project is effectively the default project.

PS C:\Users\mccra\Documents\Programming\KorGE\TheButton> ./gradlew packageJvmFatJarProguard
Starting a Gradle Daemon, 15 stopped Daemons could not be reused, use --status for details

> Configure project :
Kotlin Multiplatform Projects are an experimental feature.

> Task :compileKotlinJvm
w: C:\Users\mccra\Documents\Programming\KorGE\TheButton\src\commonMain\kotlin\main.kt: (11, 6): Variable 'image' is never used

> Task :packageJvmFatJarProguard
Note: there were 106 duplicate class definitions.
      (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
Warning: can't write resource [META-INF/korge.kotlin_module] (Duplicate jar entry [META-INF/korge.kotlin_module])
Warning: can't write resource [META-INF/korgw.kotlin_module] (Duplicate jar entry [META-INF/korgw.kotlin_module])
Warning: can't write resource [META-INF/korag-opengl.kotlin_module] (Duplicate jar entry [META-INF/korag-opengl.kotlin_module])
Warning: can't write resource [META-INF/kgl.kotlin_module] (Duplicate jar entry [META-INF/kgl.kotlin_module])
Warning: can't write resource [META-INF/korag.kotlin_module] (Duplicate jar entry [META-INF/korag.kotlin_module])
Warning: can't write resource [META-INF/korev.kotlin_module] (Duplicate jar entry [META-INF/korev.kotlin_module])
Warning: can't write resource [META-INF/korim.kotlin_module] (Duplicate jar entry [META-INF/korim.kotlin_module])
Warning: can't write resource [META-INF/korau.kotlin_module] (Duplicate jar entry [META-INF/korau.kotlin_module])
Warning: can't write resource [META-INF/korio.kotlin_module] (Duplicate jar entry [META-INF/korio.kotlin_module])
Warning: can't write resource [META-INF/klock.kotlin_module] (Duplicate jar entry [META-INF/klock.kotlin_module])
Warning: can't write resource [META-INF/kmem.kotlin_module] (Duplicate jar entry [META-INF/kmem.kotlin_module])
Warning: can't write resource [META-INF/korma.kotlin_module] (Duplicate jar entry [META-INF/korma.kotlin_module])
Warning: can't write resource [META-INF/kds.kotlin_module] (Duplicate jar entry [META-INF/kds.kotlin_module])
Warning: can't write resource [META-INF/korinject.kotlin_module] (Duplicate jar entry [META-INF/korinject.kotlin_module])
Warning: can't write resource [META-INF/klogger.kotlin_module] (Duplicate jar entry [META-INF/klogger.kotlin_module])

> Task :packageJvmFatJarProguard FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':packageJvmFatJarProguard'.
> java.io.IOException: Can't write [C:\Users\mccra\Documents\Programming\KorGE\TheButton\build\libs\TheButton-all-proguard.jar] (Can't read [C:\Users\mccra\Documents\Programming\KorGE\TheButton\build\libs\TheButton-all-4.10.1.jar] (Duplicate jar entry [jogamp/nativetag/common/linux/amd64/TAG.class]))

* 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

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

BUILD FAILED in 2m 16s
5 actionable tasks: 5 executed
@soywiz
Copy link
Member

soywiz commented Dec 1, 2019

Moved to korlibs/korge-plugins#3

@soywiz soywiz closed this as completed Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants