Make Kotlin2JsGradlePluginIT test compatible with gradle 2.x

This commit is contained in:
Alexey Tsvetkov
2016-04-18 21:33:38 +03:00
parent 51104a5c2b
commit 23c21396f7
2 changed files with 3 additions and 3 deletions
@@ -5,7 +5,7 @@ import org.junit.Test
class Kotlin2JsGradlePluginIT : BaseGradleIT() {
@Test
fun testBuildAndClean() {
val project = Project("kotlin2JsProject", "1.6")
val project = Project("kotlin2JsProject", "2.10")
project.build("build") {
assertSuccessful()
@@ -63,7 +63,7 @@ class Kotlin2JsGradlePluginIT : BaseGradleIT() {
@Test
fun testNoOutputFileFails() {
val project = Project("kotlin2JsNoOutputFileProject", "1.6")
val project = Project("kotlin2JsNoOutputFileProject", "2.10")
project.build("build") {
assertFailed()
assertReportExists()
@@ -30,7 +30,7 @@ compileKotlin2Js.kotlinOptions.outputFile = "${projectDir}/web/js/app.js"
compileKotlin2Js.kotlinOptions.suppressWarnings = true
compileKotlin2Js.kotlinOptions.verbose = true
task copyJsFilesFromDependencies(dependsOn: build) {
build.doLast {
configurations.compile.each { File file ->
copy {
includeEmptyDirs = false