Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding support for google-auth-library-java (#203)
- Loading branch information
Showing
19 changed files
with
3,612 additions
and
9 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
exports['JavaAuthReadme updateContent updates version examples in README.md 1'] = ` | ||
## Quickstart | ||
If you are using Maven, add this to your pom.xml file (notice that you can replace | ||
\`google-auth-library-oauth2-http\` with any of \`google-auth-library-credentials\` and | ||
\`google-auth-library-appengine\`, depending on your application needs): | ||
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released}) | ||
\`\`\`xml | ||
<dependency> | ||
<groupId>com.google.auth</groupId> | ||
<artifactId>google-auth-library-oauth2-http</artifactId> | ||
<version>0.20.0</version> | ||
</dependency> | ||
\`\`\` | ||
[//]: # ({x-version-update-end}) | ||
If you are using Gradle, add this to your dependencies | ||
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released}) | ||
\`\`\`Groovy | ||
compile 'com.google.auth:google-auth-library-oauth2-http:0.20.0' | ||
\`\`\` | ||
[//]: # ({x-version-update-end}) | ||
If you are using SBT, add this to your dependencies | ||
[//]: # ({x-version-update-start:google-auth-library-oauth2-http:released}) | ||
\`\`\`Scala | ||
libraryDependencies += "com.google.auth" % "google-auth-library-oauth2-http" % "0.20.0" | ||
\`\`\` | ||
[//]: # ({x-version-update-end}) | ||
` |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
exports['JavaAuthVersions updateContent updates versions.txt appropriately for non-SNAPSHOT release 1'] = ` | ||
# Format: | ||
# module:released-version:current-version | ||
google-auth-library:0.25.0:0.25.0 | ||
google-auth-library-bom:0.25.0:0.25.0 | ||
google-auth-library-parent:0.25.0:0.25.0 | ||
google-auth-library-appengine:0.25.0:0.25.0 | ||
google-auth-library-credentials:0.25.0:0.25.0 | ||
google-auth-library-oauth2-http:0.25.0:0.25.0 | ||
` | ||
|
||
exports['JavaAuthVersions updateContent updates versions.txt appropriately for SNAPSHOT release 1'] = ` | ||
# Format: | ||
# module:released-version:current-version | ||
google-auth-library:0.16.2:0.16.2-SNAPSHOT | ||
google-auth-library-bom:0.16.2:0.16.2-SNAPSHOT | ||
google-auth-library-parent:0.16.2:0.16.2-SNAPSHOT | ||
google-auth-library-appengine:0.16.2:0.16.2-SNAPSHOT | ||
google-auth-library-credentials:0.16.2:0.16.2-SNAPSHOT | ||
google-auth-library-oauth2-http:0.16.2:0.16.2-SNAPSHOT | ||
` |
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
exports['PomXML updateContent updates version in pom.xml 1'] = ` | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
<parent> | ||
<groupId>com.google.auth</groupId> | ||
<artifactId>google-auth-library-parent</artifactId> | ||
<version>0.19.0</version><!-- {x-version-update:google-auth-library-parent:current} --> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
<artifactId>google-auth-library-appengine</artifactId> | ||
<name>Google Auth Library for Java - Google App Engine</name> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
<build> | ||
<sourceDirectory>java</sourceDirectory> | ||
<testSourceDirectory>javatests</testSourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.auth</groupId> | ||
<artifactId>google-auth-library-credentials</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.auth</groupId> | ||
<artifactId>google-auth-library-oauth2-http</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.http-client</groupId> | ||
<artifactId>google-http-client</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.http-client</groupId> | ||
<artifactId>google-http-client-jackson2</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.appengine</groupId> | ||
<artifactId>appengine-api-1.0-sdk</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.auth</groupId> | ||
<artifactId>google-auth-library-oauth2-http</artifactId> | ||
<type>test-jar</type> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> | ||
` |
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.