Browse Source

Add IDEA classpath for Development mode (#323)

pull/349/head
Hank 5 years ago committed by Decebal Suiu
parent
commit
cc6fe5e389
  1. 8
      pf4j/src/main/java/org/pf4j/DevelopmentPluginClasspath.java

8
pf4j/src/main/java/org/pf4j/DevelopmentPluginClasspath.java

@ -41,14 +41,22 @@ public class DevelopmentPluginClasspath extends PluginClasspath {
*/
public static final PluginClasspath KOTLIN = new PluginClasspath().addClassesDirectories("build/classes/kotlin/main", "build/resources/main", "build/tmp/kapt3/classes/main");
/**
* The development plugin classpath for <a href="https://www.jetbrains.com/help/idea/specifying-compilation-settings.html">IDEA</a>.
* The classes directories are {@code out/production/classes", out/production/resource}.
*/
public static final PluginClasspath IDEA = new PluginClasspath().addClassesDirectories("out/production/classes", "out/production/resource");
public DevelopmentPluginClasspath() {
addClassesDirectories(MAVEN.getClassesDirectories());
addClassesDirectories(GRADLE.getClassesDirectories());
addClassesDirectories(KOTLIN.getClassesDirectories());
addClassesDirectories(IDEA.getClassesDirectories());
addJarsDirectories(MAVEN.getJarsDirectories());
addJarsDirectories(GRADLE.getJarsDirectories());
addJarsDirectories(KOTLIN.getJarsDirectories());
addJarsDirectories(IDEA.getJarsDirectories());
}
}

Loading…
Cancel
Save