198 |
brianR |
1 |
apply plugin: 'war'
|
201 |
brianR |
2 |
apply plugin: "maven-publish"
|
|
|
3 |
apply plugin: "signing"
|
198 |
brianR |
4 |
|
|
|
5 |
repositories {
|
|
|
6 |
mavenCentral()
|
|
|
7 |
}
|
|
|
8 |
|
201 |
brianR |
9 |
java {
|
|
|
10 |
toolchain {
|
|
|
11 |
languageVersion = JavaLanguageVersion.of(8)
|
|
|
12 |
}
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
project.version "2.0.0-SNAPSHOT"
|
|
|
16 |
group "net.brutex.xservices"
|
|
|
17 |
|
|
|
18 |
publishing {
|
|
|
19 |
publications {
|
|
|
20 |
maven(MavenPublication) {
|
|
|
21 |
from components.java
|
|
|
22 |
}
|
|
|
23 |
}
|
|
|
24 |
repositories {
|
|
|
25 |
|
|
|
26 |
maven {
|
|
|
27 |
name = 'LocalRemote'
|
|
|
28 |
def releasesRepoUrl = 'https://archiva.brutex.net/repository/internal/'
|
|
|
29 |
def snapshotsRepoUrl = 'https://archiva.brutex.net/repository/snapshots/'
|
|
|
30 |
url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
|
|
31 |
allowInsecureProtocol = false
|
|
|
32 |
credentials {
|
|
|
33 |
username = mavenuser
|
|
|
34 |
password = mavenpass
|
|
|
35 |
}
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
maven {
|
|
|
39 |
name = 'OSSRH'
|
|
|
40 |
def releasesRepoUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
|
|
|
41 |
def snapshotsRepoUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
|
|
|
42 |
url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
|
|
43 |
credentials {
|
|
|
44 |
username = ossrhUsername
|
|
|
45 |
password = ossrhPassword
|
|
|
46 |
}
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
maven {
|
|
|
50 |
name = 'brutexGitea'
|
|
|
51 |
def releasesRepoUrl = 'https://source.brutex.net/api/packages/brutex/maven'
|
|
|
52 |
def snapshotsRepoUrl = 'https://source.brutex.net/api/packages/brutex/maven'
|
|
|
53 |
url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
|
|
|
54 |
allowInsecureProtocol = false
|
|
|
55 |
credentials {
|
|
|
56 |
username = mavenuser
|
|
|
57 |
password = mavenpass
|
|
|
58 |
}
|
|
|
59 |
}
|
|
|
60 |
}
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
tasks.register('createDist', Zip) {Zip t ->
|
|
|
64 |
archiveBaseName = project.name
|
|
|
65 |
archiveVersion = version
|
|
|
66 |
archiveExtension = "zip"
|
|
|
67 |
destinationDirectory = new File(project.buildDir, "/distribution/")
|
|
|
68 |
from war.outputs.files
|
|
|
69 |
}
|
|
|
70 |
|
198 |
brianR |
71 |
dependencies {
|
|
|
72 |
compileOnly "javax.servlet:javax.servlet-api:4.0.1"
|
|
|
73 |
compileOnly "javax.ws.rs:javax.ws.rs-api:2.1.1"
|
|
|
74 |
|
|
|
75 |
implementation "org.apache.commons:commons-configuration2:2.9.0"
|
|
|
76 |
implementation "org.apache.commons:commons-lang3:3.12.0"
|
|
|
77 |
implementation "commons-net:commons-net:3.9.0"
|
|
|
78 |
implementation "commons-beanutils:commons-beanutils:1.9.4"
|
199 |
brianR |
79 |
implementation "org.apache.httpcomponents:httpclient:4.5.14"
|
201 |
brianR |
80 |
implementation "org.apache.httpcomponents:fluent-hc:4.5.14"
|
199 |
brianR |
81 |
implementation "commons-io:commons-io:2.11.0"
|
198 |
brianR |
82 |
|
|
|
83 |
implementation "org.apache.ant:ant:1.10.13"
|
|
|
84 |
implementation "org.apache.ant:ant-nodeps:1.8.1"
|
|
|
85 |
implementation "org.apache.ant:ant-jsch:1.10.13"
|
|
|
86 |
implementation "org.apache.ant:ant-commons-net:1.10.13"
|
|
|
87 |
implementation "org.apache.ant:ant-javamail:1.10.13"
|
|
|
88 |
implementation "org.apache.ant:ant-launcher:1.10.13"
|
|
|
89 |
|
|
|
90 |
implementation "org.apache.commons:commons-jcs-core:2.2.1"
|
|
|
91 |
|
|
|
92 |
implementation "org.quartz-scheduler:quartz:2.3.2"
|
|
|
93 |
|
199 |
brianR |
94 |
implementation "org.slf4j:slf4j-api:2.0.7"
|
198 |
brianR |
95 |
|
199 |
brianR |
96 |
runtimeOnly "org.slf4j:slf4j-simple:2.0.7"
|
|
|
97 |
|
198 |
brianR |
98 |
implementation "org.apache.ws.commons.axiom:axiom:1.2.22"
|
|
|
99 |
implementation "org.apache.ws.commons.axiom:axiom-impl:1.2.22"
|
|
|
100 |
|
|
|
101 |
implementation "org.apache.shiro:shiro-core:1.12.0"
|
|
|
102 |
implementation "org.apache.shiro:shiro-root:1.12.0"
|
|
|
103 |
implementation "org.apache.shiro:shiro-web:1.12.0"
|
|
|
104 |
|
201 |
brianR |
105 |
implementation "org.apache.cxf:cxf:3.4.10"
|
199 |
brianR |
106 |
implementation "org.apache.cxf:cxf-rt-databinding-aegis:3.2.14"
|
198 |
brianR |
107 |
|
199 |
brianR |
108 |
runtimeOnly "org.apache.cxf:cxf-rt-transports-http:3.2.14"
|
|
|
109 |
runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.14"
|
|
|
110 |
runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxws:3.2.14"
|
|
|
111 |
runtimeOnly "org.apache.cxf:cxf-rt-security:3.2.14"
|
198 |
brianR |
112 |
|
199 |
brianR |
113 |
|
198 |
brianR |
114 |
implementation "rhino:js:1.7R2"
|
|
|
115 |
|
|
|
116 |
implementation "org.springframework:spring-core:5.3.29"
|
|
|
117 |
implementation "org.springframework:spring-context:5.3.29"
|
|
|
118 |
implementation "org.springframework:spring-web:5.3.29"
|
|
|
119 |
|
199 |
brianR |
120 |
implementation "com.h2database:h2:2.2.222"
|
|
|
121 |
|
|
|
122 |
implementation "com.sun.xml.bind:jaxb-impl:2.3.0.1"
|
|
|
123 |
implementation "com.sun.xml.bind:jaxb-core:2.3.0.1"
|
|
|
124 |
|
198 |
brianR |
125 |
implementation fileTree(dir: "lib/", includes: ["*.jar"])
|
199 |
brianR |
126 |
|
|
|
127 |
annotationProcessor "org.projectlombok:lombok:1.18.28"
|
|
|
128 |
compileOnly "org.projectlombok:lombok:1.18.28"
|
|
|
129 |
|
198 |
brianR |
130 |
}
|