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

Commit 6c539df

Browse files
feat: ✨ Use new snyk code api [ROAD-495] (#28)
* 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]>
1 parent 75041d1 commit 6c539df

40 files changed

+743
-840
lines changed

.editorconfig

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.kt]
15+
indent_size = 4
16+
wildcard_import_limit = 999
17+
ij_kotlin_packages_to_use_import_on_demand = ^
18+
ij_kotlin_name_count_to_use_star_import = 999
19+
ij_kotlin_name_count_to_use_star_import_for_members = 999
20+
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^
21+
22+
[*.java]
23+
ij_java_names_count_to_use_import_on_demand = 999
24+
ij_java_class_count_to_use_import_on_demand = 999
25+
ij_java_packages_to_use_import_on_demand = ^

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [2.2.0] - 2020-11-29
2+
- feat: update to latest snyk-code api
3+
14
## [2.1.12] - 2020-10-17
25
- fix: isFullRescanRequested() should be False after rescan finished and before UI updates.
36

build.gradle

+8-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ plugins {
66

77
group = "io.snyk.code.sdk"
88
archivesBaseName = "snyk-code-client"
9-
version = "2.1.12"
9+
version = "2.2.0"
1010

1111
repositories {
12+
mavenLocal()
1213
mavenCentral()
1314
}
1415

@@ -44,12 +45,13 @@ compileTestJava {
4445
}
4546

4647
dependencies {
47-
implementation "com.squareup.retrofit2:retrofit:2.7.1"
48-
implementation "com.squareup.retrofit2:converter-gson:2.7.1"
49-
implementation "org.jetbrains:annotations:15.0"
48+
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
49+
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
50+
implementation 'org.jetbrains:annotations:22.0.0'
51+
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'
5052

51-
testImplementation "junit:junit:4.12"
52-
integTestImplementation "junit:junit:4.12"
53+
testImplementation 'junit:junit:4.13.2'
54+
integTestImplementation 'junit:junit:4.13.2'
5355
}
5456

5557
task integTest(type: Test) {

0 commit comments

Comments
 (0)