Skip to content

Commit

Permalink
Add module-info and update to Java 8 as a minimum
Browse files Browse the repository at this point in the history
Project now requires Java 8
  • Loading branch information
jodastephen committed Nov 14, 2017
1 parent 3c1dad4 commit 92b780b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

<!-- types are add, fix, remove, update -->
<release version="1.0" date="SNAPSHOT" description="v1.0">
<action dev="jodastephen" type="add">
Add module-info for Java 9.
</action>
<action dev="jodastephen" type="add">
Update and redesign build to support Java 9.
Switch to require Java 8.
Expand Down
28 changes: 28 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright 2014-present Stephen Colebourne
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* Joda-Collect provides a {@code Grid} data structure based on the {@code Table} data structure in Guava.
*/
module org.joda.collect {

// dependency on Guava - transient as Guava types are in Joda-Convert API
requires transitive com.google.common;

// export all packages
exports org.joda.collect.grid;

}

0 comments on commit 92b780b

Please sign in to comment.