This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
forked from kusumotolab/kGenProg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
129 lines (96 loc) · 4.76 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'r-arima' at '18/04/09 19:34' with Gradle 2.14.1
*
* 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.14.1/userguide/tutorial_java_projects.html
*/
// Apply the java plugin to add support for Java
apply plugin: 'java'
apply plugin: 'eclipse'
// Set compiler version
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
// Set default encoding to UTF-8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
// 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()
// Commented out because dependencies are not resolved correctly in upstream projects when using flatDir
//// Use local lib folder
//flatDir {
// dirs 'src/main/resources/junit4'
//}
}
// In this section you declare the dependencies for your production and test code
dependencies {
// Use custom junit jar to terminate timed out process during apr loop
compile files('src/main/resources/junit4/junit-4.12-kgp-custom.jar',
'src/main/resources/junit4/hamcrest-core-1.3.jar')
// Uncomment if using flatDir
//compile name: 'junit-4.12-kgp-custom'
//compile name: 'hamcrest-core-1.3'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21'
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
// https://mvnrepository.com/artifact/org.projectlombok/lombok
//compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.0'
// https://mvnrepository.com/artifact/args4j/args4j
compile group: 'args4j', name: 'args4j', version: '2.33'
// https://mvnrepository.com/artifact/org.eclipse.jdt/org.eclipse.jdt.core
compile group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.core', version: '3.13.102'
// https://mvnrepository.com/artifact/org.jacoco/org.jacoco.core
compile group: 'org.jacoco', name: 'org.jacoco.core', version: '0.8.1'
// https://mvnrepository.com/artifact/org.apache.maven/maven-core
compile group: 'org.apache.maven', name: 'maven-core', version: '3.5.4'
// https://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.6'
// https://mvnrepository.com/artifact/commons-lang/commons-lang
// compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
// https://mvnrepository.com/artifact/junit/junit
// compile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/org.apache.lucene/lucene-spellchecker
// compile group: 'org.apache.lucene', name: 'lucene-spellchecker', version: '3.6.2'
// https://mvnrepository.com/artifact/com.github.wumpz/diffutils
compile group: 'com.github.wumpz', name: 'diffutils', version: '2.2'
// https://mvnrepository.com/artifact/commons-codec/commons-codec
compile group: 'commons-codec', name: 'commons-codec', version: '1.11'
// https://mvnrepository.com/artifact/org.hamcrest/hamcrest-all
// testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
// https://mvnrepository.com/artifact/org.assertj/assertj-core
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.10.0'
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.+'
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '26.0-jre'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compile 'com.electronwill.night-config:toml:3.4.0'
// https://mvnrepository.com/artifact/fr.inria.gforge.spoon/spoon-core
compile group: 'fr.inria.gforge.spoon', name: 'spoon-core', version: '7.0.0'
compile "io.reactivex.rxjava2:rxjava:2.2.4"
}
jar {
// Specify App's entry point
manifest {
attributes "Main-Class": "jp.kusumotolab.kgenprog.CUILauncher"
}
from { (configurations.runtime).collect { it.isDirectory() ? it : zipTree(it) } } {
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
}
// Define App's version
version = currentVersion
task printCurrentVersion {
description 'Prints the current kGenProg version.'
doLast {
println version
}
}