mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-06-16 05:10:51 -07:00
don’t add deprecated kotlin runtime jar to project templates
This commit is contained in:
parent
1ff46b5842
commit
c33800b189
2 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ class KotlinTemplateGenerator : LanguageTemplateGenerator() {
|
||||||
override val defaultSourceDirectories = hashSetOf("src/main/kotlin")
|
override val defaultSourceDirectories = hashSetOf("src/main/kotlin")
|
||||||
override val defaultTestDirectories = hashSetOf("src/test/kotlin")
|
override val defaultTestDirectories = hashSetOf("src/test/kotlin")
|
||||||
override val mainDependencies = arrayListOf(
|
override val mainDependencies = arrayListOf(
|
||||||
Pom.Dependency("org.jetbrains.kotlin", "kotlin-runtime", null, Constants.KOTLIN_COMPILER_VERSION),
|
Pom.Dependency("org.jetbrains.kotlin", "kotlin-stdlib", null, Constants.KOTLIN_COMPILER_VERSION)
|
||||||
Pom.Dependency("org.jetbrains.kotlin", "kotlin-stdlib", null, Constants.KOTLIN_COMPILER_VERSION))
|
)
|
||||||
override val testDependencies = arrayListOf<Pom.Dependency>()
|
override val testDependencies = arrayListOf<Pom.Dependency>()
|
||||||
override val directive = "project"
|
override val directive = "project"
|
||||||
override val templateName = "kotlin"
|
override val templateName = "kotlin"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<component name="libraryTable">
|
<component name="libraryTable">
|
||||||
<library name="KotlinJavaRuntime">
|
<library name="KotlinJavaRuntime">
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES>
|
<SOURCES>
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-sources.jar!/" />
|
||||||
</SOURCES>
|
</SOURCES>
|
||||||
</library>
|
</library>
|
||||||
</component>
|
</component>
|
Loading…
Add table
Add a link
Reference in a new issue