Paul Woitaschek
10/30/2018, 9:31 AMjasoet
10/31/2018, 10:54 AMkts
it will not fetch jar file from maven repo?Paul Woitaschek
11/01/2018, 3:46 PMPaul Woitaschek
11/01/2018, 3:51 PMlouiscad
11/30/2018, 4:59 PM.gradle.kts
), but the syntax highlighting is not there apart from keywords and strings as I said.ribesg
12/03/2018, 10:50 AMbod
12/06/2018, 2:18 PM@file:dependsOn
annotation in the KEEP, but is it implemented?Nikky
12/14/2018, 2:09 AMNikky
12/22/2018, 8:17 PMamanda.hinchman-dominguez
01/05/2019, 6:15 PMserebit
01/05/2019, 7:54 PMNo class roots are found in the JDK path: /usr/lib64/openjdk-8/jre
- Several instances of Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
How can I address these?amanda.hinchman-dominguez
01/05/2019, 9:11 PMcompilerOptions.append("-jvm-target", "1.8")
Czar
01/06/2019, 12:23 AMIcaro Temponi
01/18/2019, 4:32 PMNikky
01/19/2019, 4:29 AMNikky
01/21/2019, 10:33 AMNikky
01/22/2019, 3:15 AMNikky
01/22/2019, 12:34 PMSrSouza
01/22/2019, 6:49 PMSrSouza
01/23/2019, 4:45 PMSrSouza
01/24/2019, 5:19 PMScriptEvaluationConfigurationKeys.constructorArgs
?
My code loads the script and return to me a KClass, no a new object from the compiled script
val evalConfig = ScriptEvaluationConfiguration {
constructorArgs(plugin)
set(JvmScriptEvaluationConfiguration.actualClassLoader, bukkriptClassLoader)
}
val clazz = bukkriptCompiledScript.compiledScript.getClass(evalConfig).resultOrSeveral(plugin)
In this case a should not use constructorArgs()
?SrSouza
01/24/2019, 7:59 PMserebit
01/24/2019, 8:40 PMNikky
01/27/2019, 7:16 PMSrSouza
01/28/2019, 7:39 PM@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.SOURCE)
@Repeatable
annotation class Script(
val name: String = "",
val version: String = "",
val author: String = "",
val authors: Array<String> = emptyArray(),
val website: String = "",
val depend: Array<String> = emptyArray(),
val pluginDepend: Array<String> = emptyArray()
)
Lorin
01/29/2019, 8:28 AMException in thread "main" java.lang.NoSuchMethodError: org.apache.log4j.Level.toLevel(Ljava/lang/String;Lorg/apache/log4j/Level;)Lorg/apache/log4j/Level;
at org.apache.log4j.helpers.OptionConverter.toLevel(OptionConverter.java:198)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:753)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:81)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:329)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:349)
at org.apache.flink.client.cli.CliFrontend.<clinit>(CliFrontend.java:99)
So I use kotlin-compiler-embeddable-1.3.11.jar as the runtime dependency instead. The exception above is gone, but the following error occurs when evaluating kotlin script:
Failure(reports=[ScriptDiagnostic(message=com/intellij/openapi/util/Disposer, severity=ERROR, location=null, exception=java.lang.NoClassDefFoundError: com/intellij/openapi/util/Disposer)])
Does anyone have idea how to solve this issue? Is it possible to make kotlin-compiler-embeddable-1.3.11.jar as the default runtime dependency of kotlin-scripting? Thanks!Nikky
01/29/2019, 11:42 AMaltavir
02/01/2019, 6:29 PMimplicitReceivers
both in compilation configuration and evaluation configuration, but now I have java.lang.IllegalArgumentException: Unknown key Key(baseClass)
Nikky
02/03/2019, 10:13 AMefemoney
02/04/2019, 3:09 AMimportScripts
. Doesnt seem to run my code tho 😞efemoney
02/04/2019, 3:09 AMimportScripts
. Doesnt seem to run my code tho 😞Nikky
02/04/2019, 5:47 AMefemoney
02/04/2019, 10:42 AMNikky
02/04/2019, 11:19 AM