forked from kevhlee/liferay-source-formatter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
81 lines (69 loc) · 3.86 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
import com.liferay.dev.PullSyncCodeTask
import com.liferay.dev.PushSyncCodeTask
apply plugin: "application"
apply plugin: "com.liferay.source.formatter"
apply plugin: "java"
dependencies {
implementation group: "com.googlecode.java-diff-utils", name: "diffutils", version: "1.3.0"
implementation group: "com.puppycrawl.tools", name: "checkstyle", version: "8.29"
implementation group: "com.thoughtworks.qdox", name: "qdox", version: "2.0-M5"
implementation group: "commons-io", name: "commons-io", version: "2.11.0"
implementation group: "commons-lang", name: "commons-lang", version: "2.6"
implementation group: "commons-logging", name: "commons-logging", version: "1.2"
implementation(group: "jaxen", name: "jaxen", version: "1.1.6") {
exclude group: "com.ibm.icu", module: "icu4j"
}
implementation group: "junit", name: "junit", version: "4.13.1"
implementation group: "org.antlr", name: "antlr4-runtime", version: "4.8-1"
implementation group: "org.apache.ant", name: "ant", version: "1.10.11"
implementation group: "org.apache.httpcomponents", name: "httpclient", version: "4.5.13"
implementation group: "org.apache.httpcomponents", name: "httpcore", version: "4.4.14"
implementation group: "org.apache.maven", name: "maven-artifact", version: "3.3.9"
implementation group: "org.dom4j", name: "dom4j", version: "2.1.3"
implementation group: "org.json", name: "json", version: "20230227"
implementation group: "org.reflections", name: "reflections", "version": "0.10.2"
implementation group: "xerces", name: "xercesImpl", version: "2.12.2"
implementation group: "com.liferay", name: "com.liferay.petra.function", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.lang", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.io", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.nio", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.string", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.poshi.core", version: "latest.release"
implementation group: "org.codehaus.groovy", name: "groovy", version: "2.4.21"
implementation group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.1.0"
implementation group: "com.liferay", name: "com.liferay.petra.concurrent", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.memory", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.reflect", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.petra.xml", version: "latest.release"
implementation group: "com.liferay", name: "com.liferay.portal.tools.java.parser", version: "latest.release"
implementation group: "com.liferay.portal", name: "com.liferay.portal.impl", version: "latest.release"
implementation group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "latest.release"
implementation group: "com.liferay.portal", name: "com.liferay.util.java", version: "latest.release"
implementation group: "org.apache.felix", name: "org.apache.felix.http.servlet-api", version: "1.1.2"
implementation group: "org.apache.maven", name: "maven-plugin-api", transitive: false, version: "3.0.4"
}
repositories {
maven {
url "https://repository.liferay.com/nexus/content/groups/public"
}
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
mavenCentral()
}
application {
mainClassName = "com.liferay.source.formatter.SourceFormatter"
}
jar {
manifest {
attributes 'Main-Class': 'com.liferay.source.formatter.SourceFormatter'
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
tasks.register('pullCode', PullSyncCodeTask)
tasks.register('pushCode', PushSyncCodeTask)