generate kjsm-files for js-stdlib and during compilation via maven or gradle
This commit is contained in:
+7
@@ -62,6 +62,12 @@ public class K2JSCompilerMojo extends KotlinCompileMojoBase<K2JSCompilerArgument
|
||||
@Parameter(defaultValue = "true")
|
||||
private boolean metaInfo;
|
||||
|
||||
/**
|
||||
* Flag enables or disables kjsm generation
|
||||
*/
|
||||
@Parameter(defaultValue = "true")
|
||||
private boolean kjsm;
|
||||
|
||||
/**
|
||||
* Flags enables or disable source map generation
|
||||
*/
|
||||
@@ -73,6 +79,7 @@ public class K2JSCompilerMojo extends KotlinCompileMojoBase<K2JSCompilerArgument
|
||||
arguments.outputFile = outputFile;
|
||||
arguments.noStdlib = true;
|
||||
arguments.metaInfo = metaInfo;
|
||||
arguments.kjsm = kjsm;
|
||||
|
||||
List<String> libraries = getKotlinJavascriptLibraryFiles();
|
||||
getLog().debug("libraryFiles: " + libraries);
|
||||
|
||||
Reference in New Issue
Block a user