Subversion Repositories XServices

Rev

Rev 201 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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