Skip to content

Commit

Permalink
kotlin 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vsct-jburet committed May 26, 2024
1 parent 6cdaf10 commit 462de7c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ internal object KotlinCompiler {
@Synchronized
fun analyzeFileForJvm(files: List<KtFile>, project: Project): Pair<AnalysisResult, ComponentProvider> {
val environment = EnvironmentManager.environment!!
val trace = CliBindingTrace()
val trace = CliBindingTrace(project)

val configuration = environment.configuration
// configuration.put(JVMConfigurationKeys.ADD_BUILT_INS_FROM_COMPILER_TO_DEPENDENCIES, true)
Expand Down
5 changes: 5 additions & 0 deletions bot/engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@
<artifactId>mockk-jvm</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<scope>test</scope>
</dependency>
<!-- workaround for mockk issue see https://github.com/mockk/mockk/issues/199 -->
<dependency>
<groupId>io.vertx</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>

<kotlin>1.9.23</kotlin>
<kotlin>2.0.0</kotlin>
<coroutine>1.8.1</coroutine>

<slf4j>2.0.13</slf4j>
Expand Down

0 comments on commit 462de7c

Please sign in to comment.