Remove pluginMetadata left over
This commit is contained in:
@@ -54,22 +54,6 @@ repositories {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task pluginMetadata {
|
|
||||||
def outputDir = file("$buildDir/$name")
|
|
||||||
|
|
||||||
inputs.files sourceSets.main.runtimeClasspath
|
|
||||||
outputs.dir outputDir
|
|
||||||
|
|
||||||
doLast {
|
|
||||||
outputDir.mkdirs()
|
|
||||||
def metadata = new Properties()
|
|
||||||
metadata.put("implementation-classpath", sourceSets.main.runtimeClasspath.join(File.pathSeparator))
|
|
||||||
file("$outputDir/plugin-under-test-metadata.properties").withPrintWriter {
|
|
||||||
metadata.store(it, "Plugin metadata")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
bundleDependencies {
|
bundleDependencies {
|
||||||
transitive = false
|
transitive = false
|
||||||
@@ -90,7 +74,6 @@ dependencies {
|
|||||||
testCompile('org.spockframework:spock-core:1.1-groovy-2.4') {
|
testCompile('org.spockframework:spock-core:1.1-groovy-2.4') {
|
||||||
exclude module: 'groovy-all'
|
exclude module: 'groovy-all'
|
||||||
}
|
}
|
||||||
testRuntime files(pluginMetadata)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
|||||||
Reference in New Issue
Block a user