Skip to content

Commit

Permalink
upgrade kotlin version
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakehurst committed Jun 1, 2020
1 parent 400ea7c commit 4d7f912
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions net.akehurst.kotlin.kt2ts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import java.time.ZoneId
import java.time.format.DateTimeFormatter

plugins {
kotlin("jvm") version ("1.3.70") apply false
id("com.jfrog.bintray") version ("1.8.4") apply false
kotlin("jvm") version ("1.3.71") apply false //version must match version used by gradle
id("com.jfrog.bintray") version ("1.8.5") apply false
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion net.akehurst.kotlin.kt2ts/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version_project = 1.5.2
version_project = 1.5.3

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions net.akehurst.kotlin.kt2ts/kt2ts-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
plugins {
`java-gradle-plugin`
`maven-publish`
id("com.gradle.plugin-publish") version "0.11.0"
id("com.gradle.plugin-publish") version "0.12.0"
}


dependencies {
implementation(gradleApi())
implementation(localGroovy())

implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.71") //version must match version used by gradle
implementation("io.github.classgraph:classgraph:4.8.47")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.13.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class GeneratorPlugin : Plugin<ProjectInternal> {

override fun apply(project: ProjectInternal) {
project.pluginManager.apply(BasePlugin::class.java)
YarnSimple.setup(project.rootProject)
YarnSimple().setup(project.rootProject)
val ext = project.extensions.create<GeneratorPluginExtension>(GeneratorPluginExtension.NAME, GeneratorPluginExtension::class.java, project)

val nodeKotlinConfig = project.configurations.create(ext.nodeConfigurationName.get()) {
Expand Down Expand Up @@ -64,7 +64,7 @@ class GeneratorPlugin : Plugin<ProjectInternal> {
it.group = "nodejs"
it.dependsOn(NodeJsSetupTask.NAME, YarnSetupTask.NAME)
it.doLast {
YarnSimple.yarnExec(project.rootProject, nodeSrcDir, "yarn install all", "--no-bin-links" )
YarnSimple().yarnExec(project.rootProject, nodeSrcDir, "yarn install all", "--no-bin-links" )
}
}
project.tasks.create(UnpackJsModulesTask.NAME, UnpackJsModulesTask::class.java) { tsk ->
Expand All @@ -89,7 +89,7 @@ class GeneratorPlugin : Plugin<ProjectInternal> {
it.dependsOn(GeneratePackageJsonTask.NAME+"-kotlin")
it.doLast {
val nodeArgs = ext.nodeBuildCommand.get().toTypedArray()
YarnSimple.yarnExec(project.rootProject, project.file(ext.nodeSrcDirectory.get()), "node build command", *nodeArgs)
YarnSimple().yarnExec(project.rootProject, project.file(ext.nodeSrcDirectory.get()), "node build command", *nodeArgs)
}
}

Expand Down

0 comments on commit 4d7f912

Please sign in to comment.