forked from boylesoftware/tomcat-oidcauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
111 lines (98 loc) · 2.26 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* Gradle build script.
*/
plugins {
id 'java'
id 'maven-publish'
}
sourceCompatibility = '17'
targetCompatibility = '17'
group = 'org.bsworks.catalina.authenticator.oidc'
version = '2.6.0'
task jar(type: Jar, overwrite: true) {}
jar.enabled = false
javadoc.enabled = false
sourceSets {
mainTomcat10 {
java {
srcDirs = ['src/common/java', 'src/tomcat10/java']
}
}
}
task compileJava(type: JavaCompile, overwrite: true) {
dependsOn compileMainTomcat10Java
}
ext.sharedManifest = manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': project.version,
'Implementation-Vendor': 'Boyle Software, Inc.'
)
}
task mainTomcat10Jar(type: Jar) {
archiveClassifier = 'tomcat10'
from sourceSets.mainTomcat10.output
manifest = project.manifest {
from sharedManifest
}
}
repositories {
mavenCentral()
}
dependencies {
mainTomcat10Implementation(
'org.apache.tomcat:tomcat-catalina:[10.0.0,10.1.15]',
'org.apache.tomcat:tomcat-juli:[10.0.0,10.1.15]',
'org.apache.tomcat:tomcat-util:[10.0.0,10.1.15]'
)
}
artifacts {
archives(
mainTomcat10Jar
)
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'OpenID Connect Authenticator'
description = 'Apache Tomcat authenticator implementation that extends the standard form-based authenticator and adds OpenID Connect functionality.'
url = 'https://github.com/Guarmanda/tomcat-oidcauth'
inceptionYear = '2015'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
organization {
name = 'Boyle Software, Inc.'
url = 'https://www.boylesoftware.com/'
}
developers {
developer {
id = 'levahim'
name = 'Lev Himmelfarb'
email = '[email protected]'
timezone = 'America/New_York'
}
}
scm {
connection = 'scm:git:https://github.com/Guarmanda/tomcat-oidcauth.git'
developerConnection = 'scm:git:[email protected]:Guarmanda/tomcat-oidcauth.git'
}
issueManagement {
system = 'GitHub'
url = 'https://github.com/Guarmanda/tomcat-oidcauth/issues'
}
}
artifact mainTomcat10Jar
}
}
repositories {
maven {
name = 'local'
url = "file://${buildDir}/repo"
}
}
}