Skip to content

Commit

Permalink
Use kotlin OSGI bundle directly
Browse files Browse the repository at this point in the history
We can't control the version of the bundled-compiler
bundle from kotlin-eclipse
  • Loading branch information
oowekyala committed Jun 4, 2021
1 parent cbd34ac commit 4c0f025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion org.lflang/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Require-Bundle: org.eclipse.xtext,
com.google.guava,
org.eclipse.xtend.lib.macro,
org.apache.commons.cli;bundle-version="1.4",
org.jetbrains.kotlin.bundled-compiler
org.jetbrains.kotlin.osgi-bundle;bundle-version="1.5.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: org.lflang,
org.lflang.generator,
Expand Down
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,14 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- <pomDependencies>consider</pomDependencies> -->
<!-- See https://www.eclipse.org/tycho/sitedocs/target-platform-configuration/target-platform-configuration-mojo.html#pomDependencies -->
<!-- This puts the kotlin osgi bundle into the target platform. -->
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>org.lflang</groupId>
<artifactId>org.lflang.targetplatform</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>${project.version}</version>
</artifact>
</target>
<environments>
Expand Down

0 comments on commit 4c0f025

Please sign in to comment.