KT-16743 Update configuration options in Kotlin Maven plugin
deprecate parameters module and testModule
This commit is contained in:
+2
-3
@@ -131,9 +131,8 @@ public class K2JVMCompileMojo extends KotlinCompileMojoBase<K2JVMCompilerArgumen
|
||||
// don't include runtime, it should be in maven dependencies
|
||||
arguments.noStdlib = true;
|
||||
|
||||
if (module != null) {
|
||||
getLog().info("Compiling Kotlin module " + module);
|
||||
arguments.module = module;
|
||||
if (module != null || testModule != null) {
|
||||
getLog().warn("Parameters module and testModule are deprecated and ignored, they will be removed in further release.");
|
||||
}
|
||||
|
||||
List<String> classpathList = filterClassPath(project.getBasedir(), classpath);
|
||||
|
||||
+2
@@ -156,12 +156,14 @@ public abstract class KotlinCompileMojoBase<A extends CommonCompilerArguments> e
|
||||
* Kotlin compilation module, as alternative to source files or folders.
|
||||
*/
|
||||
@Parameter
|
||||
@Deprecated
|
||||
public String module;
|
||||
|
||||
/**
|
||||
* Kotlin compilation module, as alternative to source files or folders (for tests).
|
||||
*/
|
||||
@Parameter
|
||||
@Deprecated
|
||||
public String testModule;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user