Test the Gradle plugin against Gradle 4.6
Closes gh-12314
This commit is contained in:
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…
Reference in New Issue