module com.zaxxer.hikari
{
   requires java.sql;
   requires java.management;
   requires java.naming;
   requires org.slf4j;
   requires static org.hibernate.orm.core;
   requires static javassist;
   requires static simpleclient;
   requires static metrics.core;
   requires static metrics.healthchecks;
   requires static micrometer.core;

   exports com.zaxxer.hikari;
   exports com.zaxxer.hikari.hibernate;
   exports com.zaxxer.hikari.metrics;
   exports com.zaxxer.hikari.metrics.dropwizard;
   exports com.zaxxer.hikari.metrics.micrometer;
   exports com.zaxxer.hikari.metrics.prometheus;
   exports com.zaxxer.hikari.pool;
   exports com.zaxxer.hikari.util;
}

module com.zaxxer.hikari
{
   requires java.sql;
   requires java.management;
   requires java.naming;
   requires org.slf4j;
   requires static org.hibernate.orm.core;
   requires static simpleclient;
   requires static metrics.core;
   requires static metrics.healthchecks;
   requires static micrometer.core;

   exports com.zaxxer.hikari;
   exports com.zaxxer.hikari.hibernate;
   exports com.zaxxer.hikari.metrics;
   exports com.zaxxer.hikari.metrics.dropwizard;
   exports com.zaxxer.hikari.metrics.micrometer;
   exports com.zaxxer.hikari.metrics.prometheus;
   exports com.zaxxer.hikari.pool;
   exports com.zaxxer.hikari.util;
}

Remove javassist from module-info