-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webauthn-server-attestation: - Added attestation metadata for YubiKey Bio.
- Loading branch information
Showing
14 changed files
with
256 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ buildscript { | |
} | ||
dependencies { | ||
classpath 'com.cinnober.gradle:semver-git:2.5.0' | ||
classpath 'com.diffplug.spotless:spotless-plugin-gradle:5.12.5' | ||
classpath 'com.diffplug.spotless:spotless-plugin-gradle:5.14.1' | ||
classpath 'io.github.cosmicsilence:gradle-scalafix:0.1.8' | ||
} | ||
} | ||
|
@@ -100,8 +100,7 @@ subprojects { | |
|
||
repositories { | ||
mavenLocal() | ||
|
||
maven { url "https://repo.maven.apache.org/maven2" } | ||
mavenCentral() | ||
} | ||
|
||
spotless { | ||
|
@@ -220,7 +219,7 @@ subprojects { project -> | |
} | ||
} | ||
|
||
if (publishEnabled && project.hasProperty('publishMe') && project.publishMe) { | ||
if (project.hasProperty('publishMe') && project.publishMe) { | ||
|
||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
|
@@ -267,56 +266,59 @@ subprojects { project -> | |
} | ||
} | ||
|
||
signing { | ||
useGpgCmd() | ||
sign publishing.publications.jars | ||
if (publishEnabled) { | ||
signing { | ||
useGpgCmd() | ||
sign publishing.publications.jars | ||
} | ||
} | ||
} | ||
|
||
} | ||
|
||
// The root project has no sources, but the dependency platform also needs to be published as an artifact | ||
// See https://docs.gradle.org/current/userguide/java_platform_plugin.html | ||
// See https://github.com/Yubico/java-webauthn-server/issues/93#issuecomment-822806951 | ||
if (publishEnabled) { | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
|
||
publishing { | ||
publications { | ||
jars(MavenPublication) { | ||
from components.javaPlatform | ||
|
||
pom { | ||
name = project.name | ||
description = project.description | ||
url = 'https://developers.yubico.com/java-webauthn-server/' | ||
|
||
developers { | ||
developer { | ||
id = 'emil' | ||
name = 'Emil Lundberg' | ||
email = '[email protected]' | ||
} | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
|
||
publishing { | ||
publications { | ||
jars(MavenPublication) { | ||
from components.javaPlatform | ||
|
||
pom { | ||
name = project.name | ||
description = project.description | ||
url = 'https://developers.yubico.com/java-webauthn-server/' | ||
|
||
developers { | ||
developer { | ||
id = 'emil' | ||
name = 'Emil Lundberg' | ||
email = '[email protected]' | ||
} | ||
} | ||
|
||
licenses { | ||
license { | ||
name = 'BSD-license' | ||
comments = 'Revised 2-clause BSD license' | ||
} | ||
licenses { | ||
license { | ||
name = 'BSD-license' | ||
comments = 'Revised 2-clause BSD license' | ||
} | ||
} | ||
|
||
scm { | ||
url = 'scm:git:git://github.com/Yubico/java-webauthn-server.git' | ||
connection = 'scm:git:git://github.com/Yubico/java-webauthn-server.git' | ||
developerConnection = 'scm:git:ssh://[email protected]/Yubico/java-webauthn-server.git' | ||
tag = 'HEAD' | ||
} | ||
scm { | ||
url = 'scm:git:git://github.com/Yubico/java-webauthn-server.git' | ||
connection = 'scm:git:git://github.com/Yubico/java-webauthn-server.git' | ||
developerConnection = 'scm:git:ssh://[email protected]/Yubico/java-webauthn-server.git' | ||
tag = 'HEAD' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
if (publishEnabled) { | ||
signing { | ||
useGpgCmd() | ||
sign publishing.publications.jars | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.