Skip to content

Commit

Permalink
ci: Updates for release (#28)
Browse files Browse the repository at this point in the history
Updating dependencies, removing unused files.
  • Loading branch information
barryadk authored May 17, 2023
1 parent cf6500f commit b0f3393
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 27 deletions.
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .whitesource

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The pattern of usage is likely to depend on whether a [code first or design firs

```
plugins {
id "io.swagger.swaggerhub" version "1.0.1"
id "io.swagger.swaggerhub" version "1.1.0"
}
```

Expand All @@ -40,7 +40,7 @@ plugins {
```
swaggerhubDownload {
api 'PetStoreAPI'
owner 'jsfrench'
owner 'swagger-hub'
version '1.0.0'
outputFile 'target/test/petStoreAPI.json'
}
Expand Down Expand Up @@ -69,7 +69,7 @@ Parameter | Description | Required | Default
```
swaggerhubUpload {
api 'PetStoreAPI'
owner 'jsfrench'
owner 'swagger-hub'
version '1.0.1-SNAPSHOT'
inputFile 'target/petStoreAPI.json'
token 'duMmyAPiKEy'
Expand Down Expand Up @@ -102,7 +102,7 @@ resolve {
swaggerhubUpload {
dependsOn resolve
api 'PetStoreAPI'
owner 'jsfrench'
owner 'swagger-hub'
version '1.0.1-SNAPSHOT'
inputFile 'target/petStoreAPI.json'
token 'duMmyAPiKEy'
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'groovy'
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '1.2.0'
id 'net.researchgate.release' version '2.8.1'
id 'net.researchgate.release' version '3.0.2'
}

repositories {
Expand All @@ -11,15 +11,15 @@ repositories {

dependencies {
implementation gradleApi()
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version:'4.10.0'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version:'4.11.0'
implementation group: 'org.apache.commons', name: 'commons-lang3', version:'3.12.0'
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8-standalone', version:'2.35.0'
testImplementation gradleTestKit()
testImplementation 'junit:junit:4.13.2'
testImplementation group: 'io.swagger', name: 'swagger-parser', version:'1.0.65'
testImplementation group: 'io.swagger', name: 'swagger-parser', version:'1.0.66'
}

version = '1.1.1-SNAPSHOT'
version = '1.2.0'
group = 'io.swagger'

gradlePlugin {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.1.1-SNAPSHOT
version=1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
import org.apache.commons.io.FileUtils;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.GradleRunner;
import org.hamcrest.MatcherAssert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;

import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
Expand Down

0 comments on commit b0f3393

Please sign in to comment.