-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
60 lines (55 loc) · 1.93 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
plugins {
id 'eu.xenit.alfresco' version '1.1.0'
id 'eu.xenit.amp' version '1.1.0'
id 'maven-publish'
id 'java'
}
version = "1.2.0"
sourceSets {
main {
amp {
module {
it.setProperty("module.id", "manualmanager-repo-amp")
it.setProperty("module.version", project.version)
it.setProperty("module.title", "Loftux Manual Manager - Repository Module")
it.setProperty("module.description", "Loftux Manual Manager Repository module for Alfresco Repository")
}
config.srcDirs = [file('manualmanager-repo-amp/src/main/amp/config')]
}
}
share {
amp {
module {
it.setProperty("module.id", "manualmanager-share-amp")
it.setProperty("module.version", project.version)
it.setProperty("module.title", "Loftux Manual Manager - Share Module")
it.setProperty("module.description", "Loftux Manual Manager Share module for Alfresco Share")
}
fileMapping("manualmanager-share-amp/src/main/amp/file-mapping.properties")
config.srcDirs = [file('manualmanager-share-amp/src/main/amp/config')]
web.srcDirs = [file('manualmanager-share-amp/src/main/amp/web')]
}
}
}
publishing {
publications {
maven(MavenPublication) {
groupId 'se.loftux.modules.manualmanager'
artifact tasks.amp
}
maven(MavenPublication) {
groupId 'se.loftux.modules.manualmanager'
artifact tasks.shareAmp
}
}
repositories {
maven {
url System.getenv("LOFTUX_NEXUS_DEPLOYMENT_URL")
name "LoftuxExtension"
credentials {
username System.getenv("LOFTUX_NEXUS_DEPLOYMENT_USERNAME")
password System.getenv("LOFTUX_NEXUS_DEPLOYMENT_PASSWORD")
}
}
}
}