mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
PR feedback: use version constant instead of hard-coded strings
This commit is contained in:
parent
9e6b3d26db
commit
be29f2c0b3
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
package com.beust.kobalt.app.kotlin
|
||||
|
||||
import com.beust.kobalt.Constants
|
||||
import com.beust.kobalt.app.LanguageTemplateGenerator
|
||||
import com.beust.kobalt.maven.Pom
|
||||
|
||||
|
@ -7,8 +8,8 @@ class KotlinTemplateGenerator : LanguageTemplateGenerator() {
|
|||
override val defaultSourceDirectories = hashSetOf("src/main/kotlin")
|
||||
override val defaultTestDirectories = hashSetOf("src/test/kotlin")
|
||||
override val mainDependencies = arrayListOf(
|
||||
Pom.Dependency("org.jetbrains.kotlin","kotlin-runtime", null, "1.1.3"),
|
||||
Pom.Dependency("org.jetbrains.kotlin", "kotlin-stdlib", null, "1.1.3"))
|
||||
Pom.Dependency("org.jetbrains.kotlin", "kotlin-runtime", 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 directive = "project"
|
||||
override val templateName = "kotlin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue