Skip to content

Commit

Permalink
add actual module files
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Aug 18, 2023
1 parent a2e5d49 commit b16ba23
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cache/caffeine-cache/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* 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.
*/
module jdbi3.cache.caffeine {
requires com.github.benmanes.caffeine;
requires jdbi3.core;
exports org.jdbi.v3.cache.caffeine;
provides org.jdbi.v3.core.spi.JdbiPlugin with org.jdbi.v3.cache.caffeine.CaffeineCachePlugin;
}
18 changes: 18 additions & 0 deletions cache/noop-cache/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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.
*/
module jdbi3.cache.noop {
requires jdbi3.core;
exports org.jdbi.v3.cache.noop;
provides org.jdbi.v3.core.spi.JdbiPlugin with org.jdbi.v3.cache.noop.NoopCachePlugin;
}
57 changes: 57 additions & 0 deletions core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* 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.
*/
module jdbi3.core {
requires io.leangen.geantyref;
requires java.desktop;

requires transitive java.sql;

requires static com.google.errorprone.annotations;
requires static jakarta.annotation;
requires static org.antlr.antlr4.runtime;
requires static org.checkerframework.checker.qual;
requires static org.slf4j;

exports org.jdbi.v3.core;
exports org.jdbi.v3.core.annotation;
exports org.jdbi.v3.core.argument;
exports org.jdbi.v3.core.array;
exports org.jdbi.v3.core.async;
exports org.jdbi.v3.core.cache;
exports org.jdbi.v3.core.codec;
exports org.jdbi.v3.core.collector;
exports org.jdbi.v3.core.config;
exports org.jdbi.v3.core.enums;
exports org.jdbi.v3.core.extension;
exports org.jdbi.v3.core.extension.annotation;
exports org.jdbi.v3.core.generic;
exports org.jdbi.v3.core.h2;
exports org.jdbi.v3.core.interceptor;
exports org.jdbi.v3.core.locator;
exports org.jdbi.v3.core.mapper;
exports org.jdbi.v3.core.mapper.freebuilder;
exports org.jdbi.v3.core.mapper.immutables;
exports org.jdbi.v3.core.mapper.reflect;
exports org.jdbi.v3.core.qualifier;
exports org.jdbi.v3.core.result;
exports org.jdbi.v3.core.spi;
exports org.jdbi.v3.core.statement;
exports org.jdbi.v3.core.transaction;
exports org.jdbi.v3.meta;

exports org.jdbi.v3.core.internal to jdbi3.testing;
exports org.jdbi.v3.core.cache.internal to jdbi3.caffeine.cache;

uses org.jdbi.v3.core.spi.JdbiPlugin;
}
29 changes: 29 additions & 0 deletions testing/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* 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.
*/
module jdbi3.testing {
requires static com.h2database;
requires java.logging;
requires static org.flywaydb.core;
requires static org.postgresql.jdbc;
requires static org.xerial.sqlitejdbc;
requires transitive static de.softwareforge.testing.postgres;
requires static jakarta.annotation;
requires transitive java.sql;
requires transitive jdbi3.core;
requires transitive static junit;
requires transitive static org.junit.jupiter.api;
requires transitive static otj.pg.embedded;
exports org.jdbi.v3.testing;
exports org.jdbi.v3.testing.junit5;
}

0 comments on commit b16ba23

Please sign in to comment.