Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
feat: ✨ Use new snyk code api [ROAD-495] (#28)
Browse files Browse the repository at this point in the history
* chore: ⬆️ update to latest snyk-code api [ROAD-495]

* chore: ⬆️ update version to 2.2.0 [ROAD-495]

- also fix javadoc and bump dependencies

* chore: ⬆️ update suggestions format with field leadURL [ROAD-495]

* chore: ⬆️ cleanup redundant semicolon [ROAD-495]

* chore: ⬆️ implement new analysis response payload [ROAD-495]

* chore: ⬆️ wait for up to two minutes for analysis in integration test [ROAD-495]

* chore: ⬆️ fix PR review items [ROAD-495]

* chore: 🔥️ remove LoginUtilsBase.java [ROAD-495]

* chore: split ExtendBundleRequest; adding some javadocs.

* chore: reformat project sources with .editorconfig settings

* chore: prepare 2.2.0 release

Co-authored-by: Artsiom Chapialiou <[email protected]>
  • Loading branch information
bastiandoetsch and ArtsiomCh authored Nov 29, 2021
1 parent 75041d1 commit 6c539df
Show file tree
Hide file tree
Showing 40 changed files with 743 additions and 840 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.kt]
indent_size = 4
wildcard_import_limit = 999
ij_kotlin_packages_to_use_import_on_demand = ^
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^

[*.java]
ij_java_names_count_to_use_import_on_demand = 999
ij_java_class_count_to_use_import_on_demand = 999
ij_java_packages_to_use_import_on_demand = ^
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [2.2.0] - 2020-11-29
- feat: update to latest snyk-code api

## [2.1.12] - 2020-10-17
- fix: isFullRescanRequested() should be False after rescan finished and before UI updates.

Expand Down
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ plugins {

group = "io.snyk.code.sdk"
archivesBaseName = "snyk-code-client"
version = "2.1.12"
version = "2.2.0"

repositories {
mavenLocal()
mavenCentral()
}

Expand Down Expand Up @@ -44,12 +45,13 @@ compileTestJava {
}

dependencies {
implementation "com.squareup.retrofit2:retrofit:2.7.1"
implementation "com.squareup.retrofit2:converter-gson:2.7.1"
implementation "org.jetbrains:annotations:15.0"
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'org.jetbrains:annotations:22.0.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'

testImplementation "junit:junit:4.12"
integTestImplementation "junit:junit:4.12"
testImplementation 'junit:junit:4.13.2'
integTestImplementation 'junit:junit:4.13.2'
}

task integTest(type: Test) {
Expand Down
Loading

0 comments on commit 6c539df

Please sign in to comment.