๐Ÿ“ฆ sorend / mecj

๐Ÿ“„ build.gradle ยท 30 lines
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
30plugins {
    id 'net.nemerosa.versioning' version '2.0.0'
}

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

sourceCompatibility = 1.8
group = "svu"
version = versioning.info.display

jar {
    baseName = 'mecj'
}

repositories {
    mavenCentral()
}

dependencies {
    compile 'nz.ac.waikato.cms.weka:weka-dev:3.7.12'
}

// deploy to conjars
task deploy(type: Exec, dependsOn: install) {
    executable "scp"
    args "${buildDir}/poms/pom-default.xml", "${buildDir}/libs/mecj-${version}.jar", "repo@conjars.org:"
}