build.gradle 977 Bytes
Newer Older
Florian Lugou's avatar
Florian Lugou committed
1 2 3 4 5 6
apply plugin: 'application'

// This defines the source sets for this subproject
sourceSets {
    main {
        java {
7
            srcDir "${rootProject.absPath}/src/main/java/graph"
8
            srcDir "${rootProject.absPath}/src/main/java/common"
Florian Lugou's avatar
Florian Lugou committed
9 10 11 12 13 14 15 16 17 18 19
            srcDir "${rootProject.absPath}/src/main/java/ui/util"
            srcDir "${rootProject.absPath}/src/main/java/ui/file"
            srcDir "${rootProject.absPath}/src/main/java/vcd"
            srcDir "${rootProject.absPath}/src/main/java/myutil"
        }
    }
}

dependencies {
    compile name: 'gs-core-1.3'
    compile name: 'gs-ui-1.3'
20
    compile name: 'commons-io-2.5'
Florian Lugou's avatar
Florian Lugou committed
21 22
    compileOnly name: 'commons-codec-1.10'
    compileOnly name: 'jsoup-1.8.1'
23
    compile name: 'jautomata-core'
apvrille's avatar
apvrille committed
24
    compileOnly name: 'jna-3.3.0'
Florian Lugou's avatar
Florian Lugou committed
25 26 27 28 29 30 31 32 33 34 35 36
}

jar {
  manifest {
    attributes(
      'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
      'Main-Class': 'GraphShow'
    )
  }
}

mainClassName = 'GraphShow'