<!DOCTYPE import-control PUBLIC
    "-//Puppy Crawl//DTD Import Control 1.1//EN"
    "http://www.puppycrawl.com/dtds/import_control_1_1.dtd">

<import-control pkg="com.sk89q">
  <allow pkg="java"/>
  <allow pkg="javax"/>
  <allow pkg="org.junit"/>
  <allow pkg="org.hamcrest"/>
  <allow pkg="org.mockito"/>
  <allow pkg="com.sk89q"/>
  <allow pkg="com.google.common"/>
  <allow pkg="com.thoughtworks.paranamer"/>
  <allow pkg="gnu.trove"/>
  <allow pkg="com.google.gson"/>
  <allow pkg="net.royawesome.jlibnoise"/>
  <allow pkg="org.json.simple" />
  <allow pkg="org.slf4j"/>
  <allow pkg="org.enginehub"/>

  <subpackage name="util.yaml">
    <allow pkg="org.yaml.snakeyaml"/>
  </subpackage>

  <subpackage name="bukkit">
    <allow pkg="org.bukkit"/>
  </subpackage>

  <subpackage name="wepif">
    <allow pkg="org.bukkit"/>
    <allow pkg="de.bananaco"/>
    <allow pkg="org.anjocaido"/>
    <allow pkg="com.nijiko"/>
    <allow pkg="com.nijikokun"/>
    <allow pkg="ru.tehkode"/>
    <allow pkg="net.milkbowl"/>
  </subpackage>

  <subpackage name="worldedit">
    <allow pkg="org.mozilla.javascript"/>
    <allow pkg="de.schlichtherle"/>
    <allow pkg="com.google.auto"/>

    <subpackage name="bukkit">
      <allow pkg="org.bukkit"/>
      <allow pkg="org.bstats.bukkit"/>
      <allow pkg="io.papermc.lib"/>
    </subpackage>

    <subpackage name="forge">
      <allow pkg="cpw"/>
      <allow pkg="net.minecraft"/>
      <allow pkg="net.minecraftforge"/>
      <allow pkg="com.mojang.authlib"/>
      <allow pkg="org.apache.logging.log4j"/>
      <allow pkg="org.lwjgl"/>
      <allow pkg="io.netty.buffer"/>
      <allow pkg="org.spongepowered.api" />
      <allow pkg="com.mojang.brigadier" />
      <allow pkg="com.mojang.datafixers" />
    </subpackage>

    <subpackage name="sponge">
      <allow pkg="net.minecraft"/>
      <allow pkg="com.google.inject" />
      <allow pkg="com.flowpowered.math" />
      <allow pkg="org.spongepowered.api" />
      <allow pkg="org.slf4j" />
      <allow pkg="org.bstats.sponge"/>
      <allow pkg="ninja.leaping.configurate" />
    </subpackage>
  </subpackage>
</import-control>
