This repository has been archived by the owner on May 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
65 lines (56 loc) · 2.01 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
plugins {
id 'java'
id 'maven-publish'
}
version '1.1.1'
group 'io.curity.identityserver.plugin'
def curitySdkVersion = '5.0.0'
description = "A webauthn authenticator for the Curity Identity Server"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
url "https://nexus.curity.se/nexus/content/repositories/customer-release-repo/"
}
jcenter()
}
dependencies {
compileOnly group: 'se.curity.identityserver', name: 'identityserver.sdk', version: curitySdkVersion
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compileOnly group: 'org.hibernate', name: 'hibernate-validator', version: '5.1.3.Final'
compile group: 'com.google.guava', name: 'guava', version: '24.1.1-jre'
compileOnly group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2'
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.10.2'
compile group: 'org.bitbucket.b_c', name: 'jose4j', version: '0.7.0'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
pom {
description = project.description
url = 'https://github.com/curityio/webauthn-authenticator'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
repositories {
maven {
url "https://nexus.curityio.net/repository/customer-release-repo/"
credentials {
username "${mavenUser}"
password "${mavenPassword}"
}
}
}
}
}
}
task copyRuntimeLibs(type: Copy) {
into "$buildDir/libs"
from configurations.runtime
}