forked from yasuflatland-lf/damascus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
106 lines (92 loc) · 3.89 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'jacoco'
sourceCompatibility = 1.8
targetCompatibility = 1.8
//Need for Windows
def defaultEncoding = 'UTF-8'
repositories {
mavenCentral()
jcenter()
maven {
url 'https://repo.gradle.org/gradle/libs-releases'
url "http://repository.jboss.org/nexus/content/groups/public-jboss" // JBoss
url "http://repository.apache.org/content/groups/public" // Apache
url "http://repository.springsource.com/maven/bundles/release" // SpringSource
url "http://repository.codehaus.org" // Codehaus
url "http://download.java.net/maven/2" // Java.NET
url "http://download.java.net/maven/glassfish" // Glassfish
url "http://m2repo.spockframework.org/snapshots" // Spock Snapshot
url "http://repository.sonatype.org/content/groups/public"
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:latest.release'
}
}
apply plugin: 'com.github.kt3k.coveralls'
jar {
manifest {
attributes(
"Bundle-SymbolicName": "com.liferay.damascus.cli",
"Bundle-Version": "1.0.14",
"Bundle-Description": "Liferay extension tool for scaffolding service builder portlet",
"Main-Class": "com.liferay.damascus.cli.Damascus",
"JPM-Command": "damascus"
)
}
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile 'com.beust:jcommander:1.72'
compile 'com.google.guava:guava:22.0'
compile 'commons-io:commons-io:2.+'
compile 'org.apache.commons:commons-lang3:3.+'
compile 'org.apache.commons:commons-configuration2:2.1.+'
compile 'commons-beanutils:commons-beanutils:1.9.3'
compile 'org.freemarker:freemarker:2.3.27-incubating'
compile 'com.liferay:com.liferay.project.templates:latest.integration'
compile 'org.slf4j:slf4j-api:1.7.10'
compile 'org.slf4j:slf4j-log4j12:1.7.10'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.+'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.+'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.+'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.+'
compile 'joda-time:joda-time:2.9.+'
compile 'org.projectlombok:lombok:1.16.18'
compile 'org.gradle:gradle-tooling-api:4.0.+'
compile 'org.codehaus.groovy:groovy-all:2.4.+'
testCompile group: 'cglib', name: 'cglib-nodep', version:'3.2.5'
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-core', version:'1.3'
testCompile group: 'org.objenesis', name: 'objenesis', version:'2.6'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.19'
testCompile group: 'org.powermock', name: 'powermock-core', version: '1.6.6'
testCompile group: 'org.powermock', name: 'powermock-classloading-xstream', version:'1.6.6'
testCompile group: 'org.powermock', name: 'powermock-module-junit4', version:'1.6.6'
testCompile group: 'org.powermock', name: 'powermock-module-junit4-common', version:'1.6.6'
testCompile group: 'org.powermock', name: 'powermock-module-junit4-rule', version:'1.6.6'
testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: '1.6.6'
testCompile group: 'org.powermock', name: 'powermock-api-mockito-common', version: '1.6.6'
testCompile('org.spockframework:spock-core:1.1-groovy-2.4') {
exclude module: 'groovy-all'
}
}
test {
testLogging.showStandardStreams = true
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled = true
}
}
check.dependsOn jacocoTestReport