-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (71 loc) · 2.05 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
/*
Application Hello World
Gradle build file for JaCaMo Application
*/
defaultTasks 'run'
apply plugin: 'java'
apply plugin: 'eclipse'
version '0.9'
group 'org.jacamo'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://raw.github.com/jacamo-lang/mvn-repo/master" }
maven { url 'https://jitpack.io' }
//maven { url "http://jacamo.sourceforge.net/maven2" }
//maven { url "https://jade.tilab.com/maven/" }
//flatDir { dirs 'lib' }
}
dependencies {
implementation group: 'org.jacamo', name: 'jacamo' , version: '0.9'
implementation 'com.github.Interactions-HSG:wot-td-java:v0.1.2'
implementation 'org.apache.httpcomponents.client5:httpclient5:5.0'
implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.0'
}
sourceSets {
main {
java {
srcDir 'src/env'
srcDir 'src/agt'
srcDir 'src/org'
srcDir 'src/int'
srcDir 'src/java'
}
resources {
srcDir 'src/resources'
}
}
}
task task1 (type: JavaExec, dependsOn: 'classes') {
description 'runs the application for task 1'
group ' JaCaMo'
main = 'jacamo.infra.JaCaMoLauncher'
args 'task1.jcm'
classpath sourceSets.main.runtimeClasspath
}
task task2 (type: JavaExec, dependsOn: 'classes') {
description 'runs the application for task 2'
group ' JaCaMo'
main = 'jacamo.infra.JaCaMoLauncher'
args 'task2.jcm'
classpath sourceSets.main.runtimeClasspath
}
task task3 (type: JavaExec, dependsOn: 'classes') {
description 'runs the application for task 3'
group ' JaCaMo'
main = 'jacamo.infra.JaCaMoLauncher'
args 'task3.jcm'
classpath sourceSets.main.runtimeClasspath
}
task task3dryrun (type: JavaExec, dependsOn: 'classes') {
description 'runs the application for task 3'
group ' JaCaMo'
main = 'jacamo.infra.JaCaMoLauncher'
args 'task3-dryrun.jcm'
classpath sourceSets.main.runtimeClasspath
}
clean {
delete 'bin'
delete 'build'
}