-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathbuild.gradle
65 lines (52 loc) · 2.21 KB
/
build.gradle
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'JC' at '4/23/16 2:34 PM' with Gradle 2.12
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/2.12/userguide/tutorial_java_projects.html
*/
// Apply the java plugin to add support for Java
//apply plugin: 'java'
//apply plugin: 'application' // gradle distZip to genenerate a runnable package
plugins {
id 'java'
// Apply the application plugin to add support for building a CLI application in Java.
id 'application' // gradle distZip to genenerate a runnable package
}
mainClassName = "net.lifove.clami.CLAMI"
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
//jcenter()
mavenCentral()
}
// In this section you declare the dependencies for your production and test code
dependencies {
// Use JUnit test framework.
testImplementation 'junit:junit:4.13.1'
// This dependency is used by the application.
implementation 'com.google.guava:guava:30.0-jre'
// commons-cli
// https://mvnrepository.com/artifact/commons-cli/commons-cli
implementation group: 'commons-cli', name: 'commons-cli', version: '1.3.1'
// https://mvnrepository.com/artifact/nz.ac.waikato.cms.weka/weka-dev
implementation group: 'nz.ac.waikato.cms.weka', name: 'weka-dev', version: '3.7.9'
// https://mvnrepository.com/artifact/org.apache.commons/commons-math3
implementation group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
}
//version = '0.0'
//sourceCompatibility = 1.8
//targetCompatibility = 1.8
//create a single Jar with all dependencies
//task fatJar(type: Jar) {
// manifest {
// attributes 'Implementation-Title': 'CLAMI jar file',
// 'Implementation-Version': version,
// 'Main-Class': 'net.lifove.clami.CLAMI'
// }
// baseName = project.name + '-all'
// from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
// with jar
//}