build.gradle 1.28 KB
Newer Older
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
apply plugin: 'application'

// This defines the source sets for this subproject
sourceSets {
    main {
        java {
            srcDir "${rootProject.absPath}/src/main/java"
            resources {
                srcDir "${rootProject.absPath}/src/main/resources"
            }
        }
    }

    test {
        java {
            
        }
    }
}

dependencies {
    compile name: 'opencloud'
    compile name: 'JavaPlot'
    compile name: 'derbynet'
    compile name: 'commons-codec-1.10'
    compile name: 'commons-math3-3.6.1'
    compile name: 'commons-io-2.5'
    compile name: 'jsoup-1.8.1'
    compile name: 'gs-core-1.3'
    compile name: 'batik-xml'
    compile name: 'batik-util' 
    compile name: 'batik-svggen'
    compile name: 'batik-dom'
    compile name: 'batik-awt-util'
    compile name: 'jautomata-core'
36
    compile name: 'com.microsoft.z3'
apvrille's avatar
apvrille committed
37
    compile name: 'jna-3.3.0'
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

    // Use JUnit test framework
    testCompile 'junit:junit:4.12'
    testCompile group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'
    testCompile files('src/test/libs/fr.tpt.mem4csd.utils.compare_1.0.0.jar')
}

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

mainClassName = 'TToolCLI'