Skip to content

Commit

Permalink
Update kotlin to 1.3.70 version. (#712)
Browse files Browse the repository at this point in the history
* Update Kotlin to 1.3.70 version.
* Fix deprecations.

Signed-off-by: Yahor Berdnikau <[email protected]>
  • Loading branch information
Tapchicoma authored Mar 8, 2020
1 parent 9eb31ca commit a86d1c7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

### Added
- ?

### Changed
- Kotlin was updated to 1.3.70 version

### Fixed
- ?

### Deprecated
- ?

### Removed
- ?

## [0.36.0] - 2019-12-03

### Added
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.60' apply false
id 'org.jetbrains.kotlin.jvm' version '1.3.70' apply false
id 'com.vanniktech.maven.publish' version '0.8.0' apply false
}

ext.versions = [
'kotlin': '1.3.60',
'kotlin': '1.3.70',
'gradle': '5.6.2'
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.jetbrains.kotlin.com.intellij.openapi.Disposable
import org.jetbrains.kotlin.com.intellij.openapi.diagnostic.DefaultLogger
import org.jetbrains.kotlin.com.intellij.openapi.diagnostic.Logger as DiagnosticLogger
import org.jetbrains.kotlin.com.intellij.openapi.extensions.ExtensionPoint
import org.jetbrains.kotlin.com.intellij.openapi.extensions.Extensions.getArea
import org.jetbrains.kotlin.com.intellij.openapi.extensions.Extensions.getRootArea
import org.jetbrains.kotlin.com.intellij.openapi.util.Key
import org.jetbrains.kotlin.com.intellij.openapi.util.UserDataHolderBase
import org.jetbrains.kotlin.com.intellij.pom.PomModel
Expand Down Expand Up @@ -114,7 +114,7 @@ object KtLint {
}
val extensionPoint = "org.jetbrains.kotlin.com.intellij.treeCopyHandler"
val extensionClassName = TreeCopyHandler::class.java.name!!
for (area in arrayOf(getArea(project), getArea(null))) {
for (area in arrayOf(project.extensionArea, getRootArea())) {
if (!area.hasExtensionPoint(extensionPoint)) {
area.registerExtensionPoint(extensionPoint, extensionClassName, ExtensionPoint.Kind.INTERFACE)
}
Expand Down

0 comments on commit a86d1c7

Please sign in to comment.