diff --git a/pom.xml b/pom.xml index 94af087..9fcb87f 100644 --- a/pom.xml +++ b/pom.xml @@ -190,6 +190,35 @@ + + multi-release + + [9,) + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + java-9 + + compile + + + + ${project.basedir}/src/main/java9 + + true + 9 + + + + + + + spotless diff --git a/src/main/java9/module-info.java b/src/main/java9/module-info.java new file mode 100644 index 0000000..b9a4d4b --- /dev/null +++ b/src/main/java9/module-info.java @@ -0,0 +1,27 @@ +/* + * Copyright © 2024 Stefano Cordio (stefano.cordio@gmail.com) + * + * 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. + */ + +/** + * JUnit Jupiter {@link org.junit.jupiter.api.io.TempDir} extension based on {@link + * com.google.common.jimfs.Jimfs}. + */ +@SuppressWarnings("requires-transitive-automatic") +module jimfs.junit.jupiter { + requires transitive com.google.common.jimfs; + requires org.junit.jupiter.api; + + exports io.github.scordio.jimfs.junit.jupiter; +}