kohesive / injekt

Dependency Injection for Kotlin
MIT License
235 stars 20 forks source link

Android project using injekt-core fails on dex task #8

Closed b3er closed 9 years ago

b3er commented 9 years ago

Android project using injekt-core can't be dexed because InjektPackage.class exists in injekt-api and injekt-core jars, and dexer can't merge multiple jars containing the same class files.

apatrida commented 9 years ago

Ok, fixing now and pushing a release. Breaking change. Moving the API classes to sub package api.

apatrida commented 9 years ago

Pushing release 1.2.0, should be available in 10-15 minutes on maven central.

apatrida commented 9 years ago

When you see it here, you can test: https://repo1.maven.org/maven2/uy/kohesive/injekt/injekt-core/

please let me know how it goes, I'd like to know that it works on Android

apatrida commented 9 years ago

1.2.0 is in maven central, ready for testing.

apatrida commented 9 years ago

Also, when done, if you have a simple android sample or test case I can add, that would be great.

b3er commented 9 years ago

Thanks! Working fine now. Created simple android app showing injekt basics: https://github.com/b3er/injekt-android-example