This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
83 lines (74 loc) · 2.49 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
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
group = 'com.elovirta.kuhnuri'
version = '0.1.0'
repositories {
mavenCentral()
maven {
url 'http://files.basex.org/maven'
}
maven {
url 'http://oxygenxml.com/maven'
}
flatDir {
dirs 'libs'
}
}
//configurations {
// releaseJars
//}
dependencies {
//providedCompile 'javax.servlet:servlet-api:2.5'
//runtime 'javax.servlet:jstl:1.1.2'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.jidesoft:jide-oss:3.6.7'
compile 'com.sun.jersey:jersey-client:1.9'
compile 'org.basex:basex:8.5.3'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.2'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.9.2'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.3'
compile group: 'com.google.guava', name: 'guava', version: '23.4-jre'
compile group: 'com.oxygenxml', name: 'oxygen', version: '19.1.0.1'
compile group: 'com.oxygenxml', name: 'oxygen-sdk', version: '19.1.0.1'
testCompile group: 'junit', name: 'junit', version: '4.12'
// releaseJars 'com.sun.jersey:jersey-client:1.9'
// releaseJars 'com.jidesoft:jide-oss:3.6.7'
// releaseJars 'org.basex:basex:8.5.3'
// releaseJars 'org.apache.logging.log4j:log4j-api:2.3'
// releaseJars 'org.apache.logging.log4j:log4j-core:2.3'
}
//task copyToLib( type: Copy ) {
// into "$buildDir/libs/lib"
// from configurations.releaseJars
//}
//jar {
// dependsOn copyToLib
//}
task dist(type: Zip, dependsOn: jar) {
from (configurations.runtime.allArtifacts.files) {
into "lib"
}
from (configurations.runtime) {
into "lib"
exclude "oxygen-*.jar"
}
from (".") {
include "LICENSE"
include "extension.xml"
include "plugin.xml"
include "catalog.xml"
}
from ("src/main/resources") {
include "images/**"
}
from ("src/main/resources") {
include "i18n/**"
}
archiveName "${project.name}-${project.version}.zip"
}