Subversion Repositories XServices

Rev

Rev 199 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 199 Rev 201
1
apply plugin: 'war'
1
apply plugin: 'war'
-
 
2
apply plugin: "maven-publish"
-
 
3
apply plugin: "signing"
2
 
4
 
3
repositories {
5
repositories {
4
    mavenCentral()
6
    mavenCentral()
5
}
7
}
-
 
8
 
-
 
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
}
6
 
70
 
7
dependencies {
71
dependencies {
8
    compileOnly "javax.servlet:javax.servlet-api:4.0.1"
72
    compileOnly "javax.servlet:javax.servlet-api:4.0.1"
9
    compileOnly "javax.ws.rs:javax.ws.rs-api:2.1.1"
73
    compileOnly "javax.ws.rs:javax.ws.rs-api:2.1.1"
10
 
74
 
11
    implementation "org.apache.commons:commons-configuration2:2.9.0"
75
    implementation "org.apache.commons:commons-configuration2:2.9.0"
12
    implementation "org.apache.commons:commons-lang3:3.12.0"
76
    implementation "org.apache.commons:commons-lang3:3.12.0"
13
    implementation "commons-net:commons-net:3.9.0"
77
    implementation "commons-net:commons-net:3.9.0"
14
    implementation "commons-beanutils:commons-beanutils:1.9.4"
78
    implementation "commons-beanutils:commons-beanutils:1.9.4"
15
    implementation "org.apache.httpcomponents:httpclient:4.5.14"
79
    implementation "org.apache.httpcomponents:httpclient:4.5.14"
-
 
80
    implementation "org.apache.httpcomponents:fluent-hc:4.5.14"
16
    implementation "commons-io:commons-io:2.11.0"
81
    implementation "commons-io:commons-io:2.11.0"
17
 
82
 
18
    implementation "org.apache.ant:ant:1.10.13"
83
    implementation "org.apache.ant:ant:1.10.13"
19
    implementation "org.apache.ant:ant-nodeps:1.8.1"
84
    implementation "org.apache.ant:ant-nodeps:1.8.1"
20
    implementation "org.apache.ant:ant-jsch:1.10.13"
85
    implementation "org.apache.ant:ant-jsch:1.10.13"
21
    implementation "org.apache.ant:ant-commons-net:1.10.13"
86
    implementation "org.apache.ant:ant-commons-net:1.10.13"
22
    implementation "org.apache.ant:ant-javamail:1.10.13"
87
    implementation "org.apache.ant:ant-javamail:1.10.13"
23
    implementation "org.apache.ant:ant-launcher:1.10.13"
88
    implementation "org.apache.ant:ant-launcher:1.10.13"
24
 
89
 
25
    implementation "org.apache.commons:commons-jcs-core:2.2.1"
90
    implementation "org.apache.commons:commons-jcs-core:2.2.1"
26
 
91
 
27
    implementation "org.quartz-scheduler:quartz:2.3.2"
92
    implementation "org.quartz-scheduler:quartz:2.3.2"
28
 
93
 
29
    //implementation "org.apache.logging.log4j:log4j-core:2.20.0"
94
    //implementation "org.apache.logging.log4j:log4j-core:2.20.0"
30
    //implementation "org.apache.logging.log4j:log4j-web:2.20.0"
95
    //implementation "org.apache.logging.log4j:log4j-web:2.20.0"
31
    //implementation "org.apache.logging.log4j:log4j-1.2-api:2.20.0"
96
    //implementation "org.apache.logging.log4j:log4j-1.2-api:2.20.0"
32
    //implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.18.0"
97
    //implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.18.0"
33
    implementation "org.slf4j:slf4j-api:2.0.7"
98
    implementation "org.slf4j:slf4j-api:2.0.7"
34
 
99
 
35
    runtimeOnly "org.slf4j:slf4j-simple:2.0.7"
100
    runtimeOnly "org.slf4j:slf4j-simple:2.0.7"
36
 
101
 
37
    implementation "org.apache.ws.commons.axiom:axiom:1.2.22"
102
    implementation "org.apache.ws.commons.axiom:axiom:1.2.22"
38
    implementation "org.apache.ws.commons.axiom:axiom-impl:1.2.22"
103
    implementation "org.apache.ws.commons.axiom:axiom-impl:1.2.22"
39
 
104
 
40
    implementation "org.apache.shiro:shiro-core:1.12.0"
105
    implementation "org.apache.shiro:shiro-core:1.12.0"
41
    implementation "org.apache.shiro:shiro-root:1.12.0"
106
    implementation "org.apache.shiro:shiro-root:1.12.0"
42
    implementation "org.apache.shiro:shiro-web:1.12.0"
107
    implementation "org.apache.shiro:shiro-web:1.12.0"
43
 
108
 
44
    implementation "org.apache.cxf:cxf:3.2.14"
109
    implementation "org.apache.cxf:cxf:3.4.10"
45
    implementation "org.apache.cxf:cxf-rt-databinding-aegis:3.2.14"
110
    implementation "org.apache.cxf:cxf-rt-databinding-aegis:3.2.14"
46
 
111
 
47
    runtimeOnly "org.apache.cxf:cxf-rt-transports-http:3.2.14"
112
    runtimeOnly "org.apache.cxf:cxf-rt-transports-http:3.2.14"
48
    runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.14"
113
    runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxrs:3.2.14"
49
    runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxws:3.2.14"
114
    runtimeOnly "org.apache.cxf:cxf-rt-frontend-jaxws:3.2.14"
50
    runtimeOnly "org.apache.cxf:cxf-rt-security:3.2.14"
115
    runtimeOnly "org.apache.cxf:cxf-rt-security:3.2.14"
51
 
116
 
52
 
117
 
53
    implementation "rhino:js:1.7R2"
118
    implementation "rhino:js:1.7R2"
54
 
119
 
55
    implementation "org.springframework:spring-core:5.3.29"
120
    implementation "org.springframework:spring-core:5.3.29"
56
    implementation "org.springframework:spring-context:5.3.29"
121
    implementation "org.springframework:spring-context:5.3.29"
57
    implementation "org.springframework:spring-web:5.3.29"
122
    implementation "org.springframework:spring-web:5.3.29"
58
 
123
 
59
    implementation "com.h2database:h2:2.2.222"
124
    implementation "com.h2database:h2:2.2.222"
60
 
125
 
61
    implementation "com.sun.xml.bind:jaxb-impl:2.3.0.1"
126
    implementation "com.sun.xml.bind:jaxb-impl:2.3.0.1"
62
    implementation "com.sun.xml.bind:jaxb-core:2.3.0.1"
127
    implementation "com.sun.xml.bind:jaxb-core:2.3.0.1"
63
 
128
 
64
    implementation fileTree(dir: "lib/", includes: ["*.jar"])
129
    implementation fileTree(dir: "lib/", includes: ["*.jar"])
65
 
130
 
66
    annotationProcessor "org.projectlombok:lombok:1.18.28"
131
    annotationProcessor "org.projectlombok:lombok:1.18.28"
67
    compileOnly "org.projectlombok:lombok:1.18.28"
132
    compileOnly "org.projectlombok:lombok:1.18.28"
68
 
133
 
69
}
134
}
70
 
135
 
71
Generated by GNU Enscript 1.6.5.90.
136
Generated by GNU Enscript 1.6.5.90.
72
 
137
 
73
 
138