Revert changes to ClassPathLibrary*
Cosmetics also.
This commit is contained in:
+2
-1
@@ -26,8 +26,9 @@ import java.util.List;
|
|||||||
* A Config implementation which is configured with a directory to find the standard library names from
|
* A Config implementation which is configured with a directory to find the standard library names from
|
||||||
*/
|
*/
|
||||||
public class ClassPathLibraryDefintionsConfig extends Config {
|
public class ClassPathLibraryDefintionsConfig extends Config {
|
||||||
|
// used by maven build
|
||||||
@NotNull
|
@NotNull
|
||||||
private static final String META_INF_SERVICES_FILE = "META-INF/services/org.jetbrains.kotlin.js.libraryDefinitions";
|
public static final String META_INF_SERVICES_FILE = "META-INF/services/org.jetbrains.kotlin.js.libraryDefinitions";
|
||||||
|
|
||||||
public ClassPathLibraryDefintionsConfig(@NotNull Project project, @NotNull String moduleId, @NotNull EcmaVersion version) {
|
public ClassPathLibraryDefintionsConfig(@NotNull Project project, @NotNull String moduleId, @NotNull EcmaVersion version) {
|
||||||
super(project, moduleId, version);
|
super(project, moduleId, version);
|
||||||
|
|||||||
@@ -26,9 +26,12 @@ import java.util.List;
|
|||||||
* A helper class to load the kotlin library sources to be compiled to JavaScript as part of a JavaScript build
|
* A helper class to load the kotlin library sources to be compiled to JavaScript as part of a JavaScript build
|
||||||
*/
|
*/
|
||||||
public class ClassPathLibrarySourcesLoader {
|
public class ClassPathLibrarySourcesLoader {
|
||||||
|
|
||||||
|
// used by maven build
|
||||||
@NotNull
|
@NotNull
|
||||||
private static final String META_INF_SERVICES_FILE = "META-INF/services/org.jetbrains.kotlin.js.librarySource";
|
public static final String META_INF_SERVICES_FILE = "META-INF/services/org.jetbrains.kotlin.js.librarySource";
|
||||||
@NotNull private final Project project;
|
@NotNull
|
||||||
|
private final Project project;
|
||||||
|
|
||||||
public ClassPathLibrarySourcesLoader(@NotNull Project project) {
|
public ClassPathLibrarySourcesLoader(@NotNull Project project) {
|
||||||
this.project = project;
|
this.project = project;
|
||||||
|
|||||||
Reference in New Issue
Block a user