Class LocalModule
java.lang.Object
org.gradlex.javamodule.dependencies.LocalModule
- All Implemented Interfaces:
Serializable,Comparable<LocalModule>
@NullMarked
public class LocalModule
extends Object
implements Comparable<LocalModule>, Serializable
- See Also:
-
Constructor Details
-
LocalModule
-
-
Method Details
-
getModuleName
- Returns:
- the module name as defined in the module-info.java file, e.g. 'org.example.module-a'
-
getProjectPath
- Returns:
- the full Gradle project path for the subproject defining the module, e.g. ':module-a'
-
getCapability
- Returns:
- the capability to address the module in a dependency if it is not in the 'main' source set, e.g. 'org.example:module-a-test-fixtures'
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<LocalModule>
-
equals
-
hashCode
public int hashCode()
-