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

Ability to use current project runtimeClasspath as "new classpath" #19

Open
sebersole opened this issue May 1, 2018 · 1 comment
Open

Comments

@sebersole
Copy link
Contributor

I'd really love to just do this:

task generateDesignationsReport(type: me.champeau.gradle.japicmp.JapicmpTask) {
    ...
    newClasspath = sourceSets.main.runtimeClasspath
}

But this leads to errors about the project's (main source set) classes dir being a dir and not a jar:

   > Processing of jar file /home/sebersole/projects/hibernate/hibernate-orm/5.2/hibernate-orm/hibernate-core/target/classes/java/main failed: /home/sebersole/projects/hibernate/hibernate-orm/5.2/hibernate-orm/hibernate-core/target/classes/java/main (Is a directory)
@sebersole
Copy link
Contributor Author

Although... it looks like this may actually be an issue in japicmp itself:

Caused by: java.io.FileNotFoundException: /home/sebersole/projects/hibernate/hibernate-orm/5.2/hibernate-orm/hibernate-core/target/classes/java/main (Is a directory)
        at japicmp.cmp.JarArchiveComparator.createListOfCtClasses(JarArchiveComparator.java:214)

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

1 participant