File: build.gradle

package info (click to toggle)
uncommons-watchmaker 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,304 kB
  • ctags: 1,938
  • sloc: java: 14,170; xml: 2,136; makefile: 9
file content (37 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
subprojects {
  apply plugin: 'java'
  group = 'org.uncommons.watchmaker'
  archivesBaseName = "watchmaker-$name"
  version = DEB_VERSION_UPSTREAM
  sourceSets.main.java { srcDir 'src/java/main' }
}

project(':framework') {
  dependencies {
    compile 'com.google.guava:guava:debian'
    compile 'org.uncommons.maths:uncommons-maths:debian'
  }
}

project(':swing') {
  dependencies {
    compile project(':framework')
    compile 'org.jfree:jfreechart:debian'
  }
}

task javadocAll(type: Javadoc) {
  source subprojects.collect { project -> project.sourceSets.main.allJava }
  classpath = files(subprojects.collect { project ->
    project.sourceSets.main.compileClasspath
  })
  title = "Watchmaker Framework for Evolutionary Computation API $DEB_VERSION_UPSTREAM"
  exclude '**/internal/**'
  options.links(
    'file:///usr/share/doc/default-jdk-doc/api',
    'file:///usr/share/doc/libuncommons-maths-java/api'
  )
  destinationDir = file("${buildDir}/javadoc")
}

defaultTasks 'assemble', 'javadocAll'