view build.gradle @ 199:cdf604af6c12

add Prefix Tree
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Sat, 23 Feb 2019 04:52:32 +0900
parents 93f2e5736e62
children 7f4d8d228a9b
line wrap: on
line source

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'

sourceCompatibility = 11;
targetCompatibility = 11;

[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
group = 'cr.ie.u_ryukyu.ac.jp'
version = '1.0'

repositories {
    mavenCentral()
}

dependencies {
    compile fileTree(dir: 'lib', include: '*.jar')
    testCompile('org.junit.jupiter:junit-jupiter-api:5.2.0')
    //compile group: 'org.msgpack', name: 'msgpack-core', version: '0.8.16'
    //compile group: 'org.msgpack', name: 'jackson-dataformat-msgpack', version: '0.8.16'
    compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12'


}

jar {
    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
    manifest {
        attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    archiveName = 'Christie.jar'
}

task christieStartTopologyManager(type: Jar) {
    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
    baseName = "ChristieStartTopologyManager"
    manifest {
        attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager',
                'Implementation-Title': 'StartTopologyManager',
                'Implementation-Description': 'Quickstart',
                'Implementation-Version': version,
                'Assembly-Date': new java.util.Date().toString()

    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    with jar
}


task christieStartTorqueTestTopology(type: Jar) {
    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
    baseName = "ChristieStartTorqueTestTopology"
    manifest {
        attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology',
                'Implementation-Title': 'christieStartTorqueTestTopology',
                'Implementation-Description': 'Quickstart',
                'Implementation-Version': version,
                'Assembly-Date': new java.util.Date().toString()

    }
    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
    with jar
}

clean.doFirst {
    delete "out"
}