Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 0.862 kB
defaultTasks 'clean', 'zip'
apply plugin: 'java'
configurations {
zip
}
repositories {
flatDir name: 'idea/lib', dirs: "${property('idea.home')}/lib"
flatDir name: 'idea/plugins/Groovy/lib', dirs: "${property('idea.home')}/plugins/Groovy/lib"
}
dependencies {
compile ':idea', ':jdom', ':openapi', ':util', ':extensions', ':annotations', ':Groovy'
}
task ('zip', type: Zip).doFirst {
project.dependencies {
zip project(":gradleplug-resolver-impl")
}
archiveName = "gradleplug-${project.property('build.number')}"
into('gradleplug/lib') {
from configurations.archives.allArtifactFiles.files
}
into('gradleplug/lib/ext') {
from configurations.zip.files.grep({it.name.startsWith('gradleplug-resolver-impl')})
}
}
getChildProjects().each {String name, Project childProject ->
zip.dependsOn ":${name}:jar"
}
Jump to Line
Something went wrong with that request. Please try again.