-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (45 loc) · 1.01 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
/*
Project house_build_blockchain
Gradle build file for JaCaMo Application
Outubro 23, 2017 - 14:17:37
*/
defaultTasks 'run'
apply plugin: 'java'
apply plugin: 'eclipse'
version '1.0'
group 'org.jacamo'
sourceCompatibility = 8
targetCompatibility = 8
repositories {
mavenCentral()
maven {url "http://jacamo.sourceforge.net/maven2"}
maven {url "http://jade.tilab.com/maven/"}
flatDir {
dirs 'lib'
}
}
dependencies {
compile group: 'org.jacamo', name: 'jacamo' , version: '0.7-SNAPSHOT'
compile ('org.web3j:core:2.3.0')
}
sourceSets {
main {
java {
srcDir 'src/env'
srcDir 'src/agt/jia'
}
resources {
srcDir 'src/resources'
}
}
}
task run (type: JavaExec, dependsOn: 'classes') {
description 'runs the application'
main = 'jacamo.infra.JaCaMoLauncher'
args 'house_build_blockchain.jcm'
classpath sourceSets.main.runtimeClasspath
}
clean {
delete 'bin'
delete 'build'
}