-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'modularize' into equalsverifier-4
- Loading branch information
Showing
26 changed files
with
527 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// When making changes to this file, make sure they are | ||
// reflected in equalsverifier-release-nodep/../module-info.java! | ||
module nl.jqno.equalsverifier { | ||
exports nl.jqno.equalsverifier; | ||
exports nl.jqno.equalsverifier.api; | ||
|
||
// Direct dependencies | ||
requires net.bytebuddy; | ||
requires org.objenesis; | ||
|
||
// Built-in prefab values | ||
requires static com.google.common; | ||
requires static java.desktop; | ||
requires static java.naming; | ||
requires static java.rmi; | ||
requires static java.sql; | ||
requires static javafx.base; | ||
requires static org.joda.time; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...erifier-core/src/test/java/nl/jqno/equalsverifier/integration/operational/ModuleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package nl.jqno.equalsverifier.integration.operational; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class ModuleTest { | ||
@Test | ||
void sanity() { | ||
// We want the tests in this module to be run on the class path, not the module path. | ||
assertThat(getClass().getModule().isNamed()).isFalse(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
equalsverifier-release-nodep/src/main/java/module-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module nl.jqno.equalsverifier { | ||
exports nl.jqno.equalsverifier; | ||
exports nl.jqno.equalsverifier.api; | ||
|
||
// Built-in prefab values | ||
requires static com.google.common; | ||
requires static java.desktop; | ||
requires static java.naming; | ||
requires static java.rmi; | ||
requires static java.sql; | ||
requires static javafx.base; | ||
requires static org.joda.time; | ||
} |
4 changes: 4 additions & 0 deletions
4
equalsverifier-release-nodep/src/main/java/nl/jqno/equalsverifier/Placeholder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package nl.jqno.equalsverifier; | ||
|
||
// A file needs to exist in this package in order to be able to compile the module-info.java | ||
public class Placeholder {} |
4 changes: 4 additions & 0 deletions
4
equalsverifier-release-nodep/src/main/java/nl/jqno/equalsverifier/api/Placeholder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package nl.jqno.equalsverifier.api; | ||
|
||
// A file needs to exist in this package in order to be able to compile the module-info.java | ||
public class Placeholder {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.