Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Fix for Leiningen 2.8.1 #165

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ne-sachirou
Copy link

@ne-sachirou ne-sachirou commented Nov 3, 2017

Fix 2 issues for latest Leiningen (Leiningen 2.8.1 on Java 1.8.0_152 Java HotSpot(TM) 64-Bit Server VM).

java.lang.ClassNotFoundException: org.sonatype.aether.util.version.GenericVersionScheme

Error: clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: org.sonatype.aether.util.version.GenericVersionScheme, compiling:(leiningen/droid/classpath.clj:1:1)

Leiningen switches org.sonatype.aether to org.apache.maven.resolver.

Upgrading to org.eclipse.aether clj-commons/pomegranate@b71ad6f
Bump to Maven 3.5.0 and replace aether with maven-resolver. clj-commons/pomegranate@c4e1998
Upgrade to pomegranate 0.4.0 technomancy/leiningen@ea6288d

java.io.FileNotFoundException: Could not locate reply/main__init.class or reply/main.clj on classpath.

Error: clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate reply/main__init.class or reply/main.clj on classpath., compiling:(leiningen/droid/deploy.clj:1:1)

Move reply to on-demand dependency. technomancy/leiningen@6ede563

@ne-sachirou
Copy link
Author

Anyone maintain this repository?

@0atman
Copy link

0atman commented Nov 7, 2018

I found downgrading my lein version to 2.7.1 worked :-(

@ne-sachirou
Copy link
Author

@0atman
Copy link

0atman commented Nov 19, 2018

Never apologise for Japanese! 😆

Also, code is our common language, so even without translation I can see the important block:

git clone [email protected]:ne-sachirou/lein-droid.git
cd lein-droid
git checkout -b fix/for_latest_leiningen origin/fix/for_latest_leiningen
lein install

cd PROJECT_PATH
lein droid doall

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants