-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
102 lines (87 loc) · 2.45 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
/*
* Copyright (c) 2021 SailPoint Technologies, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
repositories {
mavenCentral()
}
dependencies {
// Nimbus JOSE JWT
// https://mvnrepository.com/artifact/com.nimbusds/nimbus-jose-jwt
api group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '9.7'
// Use JUnit test framework
testImplementation 'junit:junit:4.13.2'
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
java {
modularity.inferModulePath = true
withJavadocJar()
withSourcesJar()
}
compileJava {
options.release = 9
}
publishing {
publications {
model(MavenPublication) {
from components.java
pom {
name = 'openid-sse-model'
description = 'OpenID Shared Signals and Events models'
url = 'http://github.com/sailpoint-oss/openid-sse-model'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'adam-hampton-sp'
name = 'Adam Hampton'
email = 'adam.hampton@sailpoint.com'
}
developer {
id = 'matt-domsch-sp'
name = 'Matt Domsch'
email = 'matt.domsch@sailpoint.com'
}
}
scm {
connection = 'scm:git:git://github.com/sailpoint-oss/openid-sse-model.git'
developerConnection = 'scm:git:ssh://github.com/sailpoint-oss/openid-sse-model.git'
url = 'https://github.com/sailpoint-oss/openid-sse-model/'
}
}
}
}
repositories {
maven {
name = 'myRepo'
url = "file://${buildDir}/repo"
}
}
}
javadoc {
if(JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}
signing {
useGpgCmd()
sign publishing.publications.model
}
group = 'com.sailpoint'
version = '0.1.0-SNAPSHOT'