forked from ekiwi/jade-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (68 loc) · 2.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'jade.java-application-conventions'
id "com.palantir.git-version" version "0.13.0"
id "com.intershop.gradle.javacc" version "4.0.1"
}
/* update this if Jade got new stuff */
version='4.3.3'
def getDateTime() {
return new Date().format('yyyy-MM-dd-HH:mm:ss')
}
repositories {
flatDir {
dirs '3rdparty-libs/com.toedter'
}
}
javacc {
configs {
template {
inputFile = file('src/jade/lang/acl/ACLParser.jj')
packageName = 'jade.lang.acl'
}
template {
inputFile = file('src/jade/content/lang/sl/SLParser.jj')
packageName = 'jade.content.lang.sl'
}
template {
inputFile = file('src/jade/content/lang/sl/ExtendedSLParser.jj')
packageName = 'jade.content.lang.sl'
}
}
}
dependencies {
implementation name: 'CalendarBean'
// https://mvnrepository.com/artifact/org.glassfish.corba/glassfish-corba-omgapi
implementation 'org.glassfish.corba:glassfish-corba-omgapi:4.2.4'
// https://mvnrepository.com/artifact/commons-codec/commons-codec
implementation 'commons-codec:commons-codec:1.15'
}
sourceSets {
main {
java {
srcDirs = [ 'src/FIPA', 'src/demo', 'src/jade' ]
}
}
}
tasks.named('jar') {
from('src') {
include "**/*.gif"
include "**/*.png"
include "**/*.jpg"
}
manifest {
attributes('Class-Path': configurations.runtimeClasspath.collect { it.getName() }.join(' '))
attributes('Main-Class': 'jade.Boot')
attributes('Built-By': "Jade Team (" + System.properties['user.name'] + ")")
attributes('Build-Date': getDateTime())
attributes([ 'Specification-Version': version ], 'Jade Informations')
attributes([ 'SVN-Revision': gitVersion() ], 'Jade Informations')
attributes([ 'SVN-Date': getDateTime() ], 'Jade Informations')
}
}
application {
// Define the main class for the application.
mainClass = 'jade.Boot'
}