Test the Gradle plugin against Gradle 4.6

Closes gh-12314
pull/12324/head
Andy Wilkinson 7 years ago
parent e4a1fed3b8
commit 4a3e0a231c

@ -48,7 +48,8 @@ public class KotlinPluginActionIntegrationTests {
.build("kotlinVersion", "dependencies", "--configuration", "compile")
.getOutput();
assertThat(output).contains("Kotlin version: 1.2.10");
assertThat(output).contains("org.jetbrains.kotlin:kotlin-stdlib-jdk8: -> 1.2.10");
assertThat(output)
.containsPattern("org.jetbrains.kotlin:kotlin-stdlib-jdk8:* -> 1.2.10");
}
}

@ -12,7 +12,8 @@ repositories {
}
dependencies {
compile name: 'spring-boot-configuration-processor-1.2.3'
def configurationName = GradleVersion.current().compareTo(GradleVersion.version("4.6")) >= 0 ? 'annotationProcessor': 'compile'
add(configurationName, [name: 'spring-boot-configuration-processor-1.2.3'])
}
compileJava {

Loading…
Cancel
Save