-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.377.1
- Loading branch information
1 parent
6d38c45
commit 9a0a0a2
Showing
89 changed files
with
899 additions
and
947 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
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 |
---|---|---|
|
@@ -12,6 +12,8 @@ | |
plugins { | ||
// Apply the java-library plugin for API and implementation separation. | ||
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
} | ||
|
||
compileJava.options.encoding = "UTF-8" | ||
|
@@ -30,15 +32,99 @@ java { | |
withJavadocJar() | ||
} | ||
|
||
model { | ||
tasks.generatePomFileForMavenPublication { | ||
destination = file("$buildDir/pom.xml") | ||
} | ||
} | ||
|
||
jar { | ||
dependsOn(":generatePomFileForMavenPublication") | ||
|
||
into("META-INF/maven/studio.livepeer/livepeer") { | ||
from("$buildDir/pom.xml") | ||
} | ||
} | ||
|
||
javadoc { | ||
options.encoding = "UTF-8" | ||
|
||
if(JavaVersion.current().isJava9Compatible()) { | ||
options.addBooleanOption('html5', true) | ||
} | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
tasks.withType(Javadoc) { | ||
failOnError false | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
group = "studio.livepeer" | ||
version = "0.5.0" | ||
|
||
sourcesJar { | ||
archiveBaseName = "livepeer" | ||
} | ||
|
||
javadocJar { | ||
archiveBaseName = "livepeer" | ||
} | ||
|
||
|
||
publishing { | ||
|
||
publications { | ||
maven(MavenPublication) { | ||
groupId = 'studio.livepeer' | ||
artifactId = 'livepeer' | ||
version = '0.5.0' | ||
|
||
from components.java | ||
|
||
pom { | ||
name = 'My Company Java SDK' | ||
description = 'SDK enabling Java developers to easily integrate with the My Company API.' | ||
url = 'https://github.com/owner/repo' | ||
scm { | ||
url = 'github.com/owner/repo' | ||
connection = 'scm:git:ssh://[email protected]/owner/repo.git' | ||
} | ||
licenses { | ||
license { | ||
name = 'The MIT License (MIT)' | ||
url = 'https://mit-license.org/' | ||
} | ||
} | ||
developers { | ||
developer { | ||
name = 'My Company' | ||
organization = 'My Company' | ||
email = '[email protected]' | ||
} | ||
} | ||
organization { | ||
name = 'My Company' | ||
url = 'www.mycompany.com' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
if (!project.hasProperty('skip.signing')) { | ||
signing { | ||
def signingKey = findProperty("signingKey") | ||
def signingPassphrase = findProperty("signingPassphrase") | ||
useInMemoryPgpKeys(signingKey, signingPassphrase) | ||
sign publishing.publications.maven | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0' | ||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0' | ||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0' | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2' | ||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2' | ||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2' | ||
implementation 'org.openapitools:jackson-databind-nullable:0.2.6' | ||
implementation 'org.apache.httpcomponents:httpclient:4.5.14' | ||
implementation 'org.apache.httpcomponents:httpmime:4.5.14' | ||
|
Oops, something went wrong.