Skip to content

Commit

Permalink
Merge pull request #64 from jeremymailen/kotlin-1.1.3-2
Browse files Browse the repository at this point in the history
Upgrade to kotlin 1.1.3-2
  • Loading branch information
shyiko authored Jul 6, 2017
2 parents 4ec4d7d + 19ab11d commit 0b2f004
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
language: java
jdk:
- oraclejdk8
script: ./mvnw clean verify
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.shyiko.ktlint.core

import org.jetbrains.kotlin.cli.jvm.compiler.EnvironmentConfigFiles
import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.jetbrains.kotlin.com.intellij.lang.ASTNode
import org.jetbrains.kotlin.com.intellij.mock.MockProject
Expand Down Expand Up @@ -37,7 +38,7 @@ object KtLint {

init {
val project = KotlinCoreEnvironment.createForProduction(Disposable {},
CompilerConfiguration(), emptyList()).project
CompilerConfiguration(), EnvironmentConfigFiles.EMPTY).project
// everything below (up to PsiFileFactory.getInstance(...)) is to get AST mutations (`ktlint -F ...`) working
// otherwise it's not needed
val pomModel: PomModel = object : UserDataHolderBase(), PomModel {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.1.0</kotlin.version>
<kotlin.version>1.1.3-2</kotlin.version>
<aether.version>1.1.0</aether.version>
<aether.maven.provider.version>3.2.5</aether.maven.provider.version>
<args4j.version>2.33</args4j.version>
Expand Down

0 comments on commit 0b2f004

Please sign in to comment.