ZenScript main repository
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

build.gradle 613B

1234567891011121314151617181920
  1. import org.gradle.api.artifacts.*
  2. apply plugin: 'base' // To add "clean" task to the root project.
  3. subprojects {
  4. apply from: rootProject.file('common.gradle')
  5. }
  6. task mergedJavadoc(type: Javadoc, description: 'Creates Javadoc from all the projects.') {
  7. title = 'All modules'
  8. destinationDir = new File(project.buildDir, 'merged-javadoc')
  9. // Note: The closures below are executed lazily.
  10. source {
  11. subprojects*.sourceSets*.main*.allSource
  12. }
  13. classpath.from {
  14. subprojects*.configurations*.compile*.copyRecursive({ !(it instanceof ProjectDependency); })*.resolve()
  15. }
  16. }