add mavenCentral to plugin repos
This commit is contained in:
parent
d7319cd76d
commit
7819430620
|
@ -1,5 +1,10 @@
|
||||||
// this project will run in isolation under the agent's classloader
|
// this project will run in isolation under the agent's classloader
|
||||||
buildscript {
|
buildscript {
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "net.bytebuddy:byte-buddy-gradle-plugin:${versions.bytebuddy}"
|
classpath "net.bytebuddy:byte-buddy-gradle-plugin:${versions.bytebuddy}"
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
// Enable testing kotlin code in groovy spock tests.
|
// Enable testing kotlin code in groovy spock tests.
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
//This option prevents compilation issues when switching branches while refactoring java code to kotlin.
|
||||||
|
//After we are done refactoring java -> kotlin when can disable this and use gradle build cache features.
|
||||||
|
copyClassesToJavaOutput = true
|
||||||
|
}
|
||||||
|
|
||||||
compileTestGroovy {
|
compileTestGroovy {
|
||||||
classpath = classpath.plus(files(compileTestKotlin.destinationDir))
|
classpath = classpath.plus(files(compileTestKotlin.destinationDir))
|
||||||
dependsOn compileTestKotlin
|
dependsOn compileTestKotlin
|
||||||
|
|
Loading…
Reference in New Issue