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

META-INF/library_release.kotlin_module #1

Closed
hansenji opened this issue May 3, 2017 · 4 comments
Closed

META-INF/library_release.kotlin_module #1

hansenji opened this issue May 3, 2017 · 4 comments

Comments

@hansenji
Copy link

hansenji commented May 3, 2017

More than one file was found with OS independent path 'META-INF/library_release.kotlin_module'

Because you use function extension Kotlin auto creates the META-INF/_release.kotlin_module file. This conflicts with every other project that uses library. If this file is excluded function extensions will not work. See https://blog.jetbrains.com/kotlin/2015/09/kotlin-m13-is-out/

The compileKotlin option doesn't work. The simplest way to fix it is to rename the library folder (We have had to go through all of our libraries and rename the library directory to fix this issue).

@jeffdcamp
Copy link

I'm seeing this issue too

@Takhion
Copy link
Owner

Takhion commented May 9, 2017

@hansenji ah, I see, good point! I will rename it ASAP :)

@Takhion Takhion closed this as completed in 7e1ac1c May 9, 2017
@Takhion
Copy link
Owner

Takhion commented May 9, 2017

btw @hansenji I found a way to avoid renaming the project!

@hansenji
Copy link
Author

hansenji commented May 9, 2017

@Takhion That fix is great thanks; made my projects have a lot cleaner names

Takhion added a commit that referenced this issue May 9, 2017
Fixes #1 (for real)
ninovanhooff added a commit to Q42/Q42Stats.Android that referenced this issue Sep 15, 2021
To avoid a naming conflict with other libraries as explained here:
Takhion/android-extras-delegates#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants