diff --git a/hamcrest-core/hamcrest-core.gradle b/hamcrest-core/hamcrest-core.gradle
index 962c4917..d2a91f8e 100644
--- a/hamcrest-core/hamcrest-core.gradle
+++ b/hamcrest-core/hamcrest-core.gradle
@@ -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'
}
}
diff --git a/hamcrest-core/src/main/java/org/hamcrest/HamcrestCoreIsDeprecated.java b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java
similarity index 83%
rename from hamcrest-core/src/main/java/org/hamcrest/HamcrestCoreIsDeprecated.java
rename to hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java
index 53a4d904..19482c3d 100644
--- a/hamcrest-core/src/main/java/org/hamcrest/HamcrestCoreIsDeprecated.java
+++ b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java
@@ -1,4 +1,4 @@
-package org.hamcrest;
+package org.hamcrest.core.deprecated;
/**
* All the classes in hamcrest-core.jar
have moved to
diff --git a/hamcrest-core/src/main/java/org/hamcrest/package-info.java b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java
similarity index 79%
rename from hamcrest-core/src/main/java/org/hamcrest/package-info.java
rename to hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java
index 4b9bbffe..394ab821 100644
--- a/hamcrest-core/src/main/java/org/hamcrest/package-info.java
+++ b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java
@@ -2,4 +2,4 @@
* All classes in hamcrest-core.jar
have been migrated to
* hamcrest.jar
. Please use that dependency instead.
*/
-package org.hamcrest;
\ No newline at end of file
+package org.hamcrest.core.deprecated;
\ No newline at end of file
diff --git a/hamcrest-library/hamcrest-library.gradle b/hamcrest-library/hamcrest-library.gradle
index 1ca40d51..fd8d19d1 100644
--- a/hamcrest-library/hamcrest-library.gradle
+++ b/hamcrest-library/hamcrest-library.gradle
@@ -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'
}
}
diff --git a/hamcrest-library/src/main/java/org/hamcrest/HamcrestLibraryIsDeprecated.java b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java
similarity index 82%
rename from hamcrest-library/src/main/java/org/hamcrest/HamcrestLibraryIsDeprecated.java
rename to hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java
index 4f45311d..b7ec20c3 100644
--- a/hamcrest-library/src/main/java/org/hamcrest/HamcrestLibraryIsDeprecated.java
+++ b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java
@@ -1,4 +1,4 @@
-package org.hamcrest;
+package org.hamcrest.library.deprecated;
/**
* All the classes in hamcrest-library.jar
have moved to
diff --git a/hamcrest-library/src/main/java/org/hamcrest/package-info.java b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java
similarity index 78%
rename from hamcrest-library/src/main/java/org/hamcrest/package-info.java
rename to hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java
index 9e73d768..c98f5aff 100644
--- a/hamcrest-library/src/main/java/org/hamcrest/package-info.java
+++ b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java
@@ -2,4 +2,4 @@
* All classes in hamcrest-library.jar
have been migrated to
* hamcrest.jar
. Please use that dependency instead.
*/
-package org.hamcrest;
\ No newline at end of file
+package org.hamcrest.library.deprecated;
\ No newline at end of file