Using provided directory for Kotlin serialization plugin
This commit is contained in:
parent
d180795974
commit
44a2678de9
4 changed files with 218 additions and 1 deletions
|
@ -48,6 +48,9 @@ import rife.tools.exceptions.FileUtilsErrorException;
|
|||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.logging.ConsoleHandler;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import static rife.bld.dependencies.Repository.*;
|
||||
import static rife.bld.dependencies.Scope.*;
|
||||
|
@ -115,6 +118,16 @@ public class AkismetBuild extends Project {
|
|||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
// Enable detailed logging for the Kotlin extension
|
||||
var level = Level.ALL;
|
||||
var logger = Logger.getLogger("rife.bld.extension");
|
||||
var consoleHandler = new ConsoleHandler();
|
||||
|
||||
consoleHandler.setLevel(level);
|
||||
logger.addHandler(consoleHandler);
|
||||
logger.setLevel(level);
|
||||
logger.setUseParentHandlers(false);
|
||||
|
||||
new AkismetBuild().start(args);
|
||||
}
|
||||
|
||||
|
@ -124,7 +137,7 @@ public class AkismetBuild extends Project {
|
|||
genver();
|
||||
new CompileKotlinOperation()
|
||||
.fromProject(this)
|
||||
.plugins(libCompileDirectory(), CompileKotlinPlugin.KOTLIN_SERIALIZATION)
|
||||
.plugins(libProvidedDirectory(), CompileKotlinPlugin.KOTLIN_SERIALIZATION)
|
||||
.execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue