Skip to content

Problem with using 4.4 in modularized project (cannnot determine module name) #60

@Siedlerchr

Description

@Siedlerchr

Describe the bug
Update to 4.4 in our JabRef (modularized application) fails. Gradle complains about the module name:

cannot determine module name for /home/travis/.gradle/caches/modules-2/files-2.1/io.github.java-diff-utils/java-diff-utils/4.4/87ebb16140d120da919b62117865954da06981b6/java-diff-utils-4.4.jar
/home/travis/build/JabRef/jabref/src/main/java/org/jabref/gui/mergeentries/DiffHighlighting.java:10: error: package com.github.difflib does not exist

import com.github.difflib.DiffUtils;

To Reproduce
Use the 4.4 in a modularized java project
For reference, this is the PR which is failing: JabRef/jabref#5594

I tried also to add the parent as well:

 compile 'io.github.java-diff-utils:java-diff-utils-parent:4.4'
  compile 'io.github.java-diff-utils:java-diff-utils:4.4'

Expected behavior
No errors

System

  • Java version 13
  • Version 4.4

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions