You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

module-info.java 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (C) 2012-present the original author or authors.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /**
  17. * Module descriptor for PF4J.
  18. *
  19. * @author Decebal Suiu
  20. * @author Andreas Rudolph
  21. */
  22. module org.pf4j {
  23. requires java.base;
  24. // provides javax.annotation
  25. requires java.compiler;
  26. // provided by the ASM library, use "requires static" since it's optional
  27. requires static org.objectweb.asm;
  28. // The SLF4J library currently does not provide a module.
  29. // Version 1.8 provides a module called "org.slf4j". But this version is
  30. // currently in beta stage. Therefore I'm not sure, if we already like to
  31. // use it.
  32. requires org.slf4j;
  33. // The java-semver library currently does not provide a module.
  34. // Maybe we should send them a pull request, that at least they provide an
  35. // automatic module name in their MANIFEST file.
  36. requires java.semver;
  37. // Maybe we should reconsider the package hierarchy, that only classes are
  38. // exported, which are required by 3rd party developers.
  39. exports org.pf4j;
  40. exports org.pf4j.processor;
  41. }