Skip to content

Commit 79dba0a

Browse files
committed
0.0.2 - simple sso fixes
1 parent ef45c07 commit 79dba0a

File tree

11 files changed

+31
-21
lines changed

11 files changed

+31
-21
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ Then add the dependencies you need:
2525
<dependency>
2626
<groupId>com.fastcomments</groupId>
2727
<artifactId>client</artifactId>
28-
<version>0.0.1</version>
28+
<version>0.0.2</version>
2929
</dependency>
3030

3131
<!-- Core Library (includes SSO) -->
3232
<dependency>
3333
<groupId>com.fastcomments</groupId>
3434
<artifactId>core</artifactId>
35-
<version>0.0.1</version>
35+
<version>0.0.2</version>
3636
</dependency>
3737

3838
<!-- PubSub Library (for live events) -->
3939
<dependency>
4040
<groupId>com.fastcomments</groupId>
4141
<artifactId>pubsub</artifactId>
42-
<version>0.0.1</version>
42+
<version>0.0.2</version>
4343
</dependency>
4444
</dependencies>
4545
```
@@ -58,13 +58,13 @@ repositories {
5858
5959
dependencies {
6060
// API Client
61-
implementation "com.fastcomments:client:0.0.1"
61+
implementation "com.fastcomments:client:0.0.2"
6262
6363
// Core Library (includes SSO)
64-
implementation "com.fastcomments:core:0.0.1"
64+
implementation "com.fastcomments:core:0.0.2"
6565
6666
// PubSub Library (for live events)
67-
implementation "com.fastcomments:pubsub:0.0.1"
67+
implementation "com.fastcomments:pubsub:0.0.2"
6868
}
6969
```
7070

client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.fastcomments</groupId>
4242
<artifactId>client</artifactId>
43-
<version>0.0.1</version>
43+
<version>0.0.2</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
5656
}
5757
5858
dependencies {
59-
implementation "com.fastcomments:client:0.0.1"
59+
implementation "com.fastcomments:client:0.0.2"
6060
}
6161
```
6262

@@ -70,7 +70,7 @@ mvn clean package
7070

7171
Then manually install the following JARs:
7272

73-
* `target/client-0.0.1.jar`
73+
* `target/client-0.0.2.jar`
7474
* `target/lib/*.jar`
7575

7676
## Getting Started

client/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.fastcomments'
7-
version = '0.0.1'
7+
version = '0.0.2'
88

99
buildscript {
1010
repositories {
@@ -81,10 +81,20 @@ if(hasProperty('target') && target == 'android') {
8181
} else {
8282

8383
apply plugin: 'java'
84+
apply plugin: 'maven-publish'
8485

8586
sourceCompatibility = JavaVersion.VERSION_1_8
8687
targetCompatibility = JavaVersion.VERSION_1_8
8788

89+
publishing {
90+
publications {
91+
maven(MavenPublication) {
92+
artifactId = 'client'
93+
from components.java
94+
}
95+
}
96+
}
97+
8898
task execute(type:JavaExec) {
8999
main = System.getProperty('mainClass')
90100
classpath = sourceSets.main.runtimeClasspath

client/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.fastcomments",
44
name := "client",
5-
version := "0.0.1",
5+
version := "0.0.2",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>client</artifactId>
66
<packaging>jar</packaging>
77
<name>client</name>
8-
<version>0.0.1</version>
8+
<version>0.0.2</version>
99
<url>https://fastcomments.com</url>
1010
<description>FastComments PHP API Client - A SDK for interacting with the FastComments API</description>
1111
<scm>

client/src/main/java/com/fastcomments/invoker/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private void init() {
141141
json = new JSON();
142142

143143
// Set default User-Agent.
144-
setUserAgent("OpenAPI-Generator/0.0.1/java");
144+
setUserAgent("OpenAPI-Generator/0.0.2/java");
145145

146146
authentications = new HashMap<String, Authentication>();
147147
}

client/src/main/java/com/fastcomments/invoker/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.11.0")
1717
public class Configuration {
18-
public static final String VERSION = "0.0.1";
18+
public static final String VERSION = "0.0.2";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"groupId": "com.fastcomments",
33
"artifactId": "client",
4-
"artifactVersion": "0.0.1",
4+
"artifactVersion": "0.0.2",
55
"packageName": "com.fastcomments",
66
"apiPackage": "com.fastcomments.api",
77
"modelPackage": "com.fastcomments.model",

core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then add the dependency:
3333
<dependency>
3434
<groupId>com.fastcomments</groupId>
3535
<artifactId>core</artifactId>
36-
<version>0.0.1</version>
36+
<version>0.0.2</version>
3737
</dependency>
3838
```
3939

@@ -53,7 +53,7 @@ repositories {
5353
Then add the dependency:
5454

5555
```groovy
56-
implementation 'com.fastcomments:core:0.0.1'
56+
implementation 'com.fastcomments:core:0.0.2'
5757
```
5858

5959
## Key Components

pubsub/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Then add the dependency:
3232
<dependency>
3333
<groupId>com.fastcomments</groupId>
3434
<artifactId>pubsub</artifactId>
35-
<version>0.0.1</version>
35+
<version>0.0.2</version>
3636
</dependency>
3737
```
3838

@@ -52,7 +52,7 @@ repositories {
5252
Then add the dependency:
5353

5454
```groovy
55-
implementation 'com.fastcomments:pubsub:0.0.1'
55+
implementation 'com.fastcomments:pubsub:0.0.2'
5656
```
5757

5858
## Key Components

0 commit comments

Comments
 (0)