-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
84 lines (65 loc) · 2.62 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
import org.jetbrains.intellij.tasks.BuildSearchableOptionsTask
plugins {
id 'java'
id 'de.schablinski.activejdbc-gradle-plugin' version '1.2'
id 'org.jetbrains.intellij' version '0.4.21'
}
group 'ca.ualberta.cs.smr'
version '1.0-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
"https://mvnrepository.com/artifact/org.jgrapht/jgrapht"
"https://mvnrepository.com/artifact/org.mockito/mockito-core"
maven {
url "https://jitpack.io"
}
}
dependencies {
implementation fileTree(dir: 'lib', include: ['*.jar'])
compile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '5.10.0.202012080955-r'
compile group: 'com.github.tsantalis', name: 'refactoring-miner', version: '2.1.0'
compile 'com.google.googlejavaformat:google-java-format:1.7'
compile group: 'io.reflectoring.diffparser', name: 'diffparser', version: '1.4'
compile 'org.eclipse.jdt:org.eclipse.jdt.core:3.24.0'
runtimeOnly group: 'mysql', name: 'mysql-connector-java', version: '8.0.16'
implementation group: 'org.javalite', name: 'activejdbc', version: '2.2'
implementation group: 'org.javalite', name: 'activejdbc-instrumentation', version: '2.2'
compile 'com.github.ertugrulcetin:CommentRemover:1.2'
compile 'commons-cli:commons-cli:1.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.eclipse.jdt:org.eclipse.jdt.core:3.24.0'
testCompile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '5.10.0.202012080955-r'
testCompile group: 'com.github.tsantalis', name: 'refactoring-miner', version: '2.0'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.1.0'
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2020.1.2'
plugins 'git4idea', 'java'
// plugins = ['java']
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: "maven"
patchPluginXml {
changeNotes """
Add change notes here.<br>
<em>most HTML tags may be used</em>"""
}
tasks {
runIde {
runIde.jvmArgs '-Djava.awt.headless=true', '-Xss100m', '-Xmx16g'
if (project.hasProperty("mode")) {
Object x = project.findProperty("mode")
Object y = project.findProperty("dataPath")
Object z = project.findProperty("evaluationProject")
runIde.args 'evaluation', x.toString(), y.toString(), z.toString()
}
else {
println "Use gradle runIde -Pmode=x where x= 'replication' or 'comparison'"
}
}
}
tasks.withType(BuildSearchableOptionsTask).forEach { it.enabled(false) }