Skip to content

Commit

Permalink
Use different module names for hamcrest jars.
Browse files Browse the repository at this point in the history
Resolves issue #269. Changes the module name of hamcrest-core and
hamcrest-libary to avoid split package problems with Java 9.
  • Loading branch information
tumbarumba committed Aug 24, 2019
1 parent 976a60f commit c1ea49a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hamcrest-core/hamcrest-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jar {
attributes 'Implementation-Title': project.name,
'Implementation-Vendor': 'hamcrest.org',
'Implementation-Version': version,
'Automatic-Module-Name': 'org.hamcrest'
'Automatic-Module-Name': 'org.hamcrest.core.deprecated'
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.hamcrest;
package org.hamcrest.core.deprecated;

/**
* All the classes in <code>hamcrest-core.jar</code> have moved to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
* All classes in <code>hamcrest-core.jar</code> have been migrated to
* <code>hamcrest.jar</code>. Please use that dependency instead.
*/
package org.hamcrest;
package org.hamcrest.core.deprecated;
2 changes: 1 addition & 1 deletion hamcrest-library/hamcrest-library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jar {
attributes 'Implementation-Title': project.name,
'Implementation-Vendor': 'hamcrest.org',
'Implementation-Version': version,
'Automatic-Module-Name': 'org.hamcrest'
'Automatic-Module-Name': 'org.hamcrest.library.deprecated'
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.hamcrest;
package org.hamcrest.library.deprecated;

/**
* All the classes in <code>hamcrest-library.jar</code> have moved to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
* All classes in <code>hamcrest-library.jar</code> have been migrated to
* <code>hamcrest.jar</code>. Please use that dependency instead.
*/
package org.hamcrest;
package org.hamcrest.library.deprecated;

0 comments on commit c1ea49a

Please sign in to comment.