forked from lgdd/liferay-healthcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (62 loc) · 2.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
version = "1.1.2"
apply plugin: "java"
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: "maven-publish"
apply plugin: "signing"
apply plugin: "com.liferay.target.platform"
apply plugin: "com.liferay.plugin"
dependencies {
compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bnd.annotation", version: "4.2.0"
compileOnly group: "org.slf4j", name: "slf4j-api"
compileOnly group: "javax.ws.rs", name: "javax.ws.rs-api"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"
compileOnly group: "com.liferay", name: "com.liferay.portal.configuration.metatype.api"
compileOnly group: "org.osgi", name: "org.osgi.core"
compileOnly group: "org.osgi", name: "org.osgi.service.jaxrs"
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations"
compileOnly group: "org.osgi", name: "org.osgi.annotation.versioning", version: "1.1.0"
compileOnly group: "org.apache.felix", name: "org.apache.felix.dependencymanager", version: "3.2.0"
compileOnly group: "org.projectlombok", name: "lombok", version: "1.18.12"
annotationProcessor group: "org.projectlombok", name: "lombok", version: "1.18.12"
targetPlatformBoms group: "com.liferay.portal", name: "release.portal.bom", version: "7.1.3"
targetPlatformBoms group: "com.liferay.portal", name: "release.portal.bom.compile.only", version: "7.1.3"
targetPlatformBoms group: "com.liferay.portal", name: "release.portal.bom.third.party", version: "7.1.3"
}
def defaultEncoding = "UTF-8"
buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.target.platform", version: "2.1.23"
classpath group: "com.liferay", name: "com.liferay.gradle.plugins", version: "10.0.18"
}
repositories {
jcenter()
mavenCentral()
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
}
repositories {
mavenCentral()
jcenter()
maven { url "http://repository.jboss.org/nexus/content/groups/public-jboss" }
maven { url "http://repository.apache.org/content/groups/public" }
maven { url "http://repository.springsource.com/maven/bundles/release" }
maven { url "http://repository.codehaus.org" }
maven { url "http://download.java.net/maven/2" }
maven { url "http://download.java.net/maven/glassfish" }
maven { url "http://m2repo.spockframework.org/snapshots" }
maven { url "http://repository.sonatype.org/content/groups/public" }
maven { url "https://mvnrepository.com/artifact/com.sun/tools" }
maven { url "https://mvnrepository.com/artifact/org.osgi/org.osgi.annotation.versioning" }
maven { url "https://jitpack.io" }
}
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
archiveClassifier = "sources"
}
task javadocJar(type: Jar) {
from javadoc
archiveClassifier = "javadoc"
}