Skip to content

Commit 8dcc7a2

Browse files
authored
Merge pull request #153 from Yelp/nc/bump-deps
2 parents b2f2c2f + 6df2226 commit 8dcc7a2

File tree

20 files changed

+222
-175
lines changed

20 files changed

+222
-175
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.4.0
3+
rev: v4.0.1
44
hooks:
55
- id: check-merge-conflict
66
- id: trailing-whitespace
@@ -12,7 +12,7 @@ repos:
1212
exclude: ^samples/[^/]+/src/main/java/swagger.json$
1313
- id: check-yaml
1414
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
15-
rev: v2.0.0
15+
rev: v2.1.0
1616
hooks:
1717
- id: pretty-format-java
1818
args: [--autofix]
@@ -22,7 +22,7 @@ repos:
2222
args: [--autofix, --indent, '2']
2323
exclude: ^config/detekt/detekt\.yml$
2424
- repo: https://github.com/Yelp/detect-secrets
25-
rev: v0.14.3
25+
rev: v1.1.0
2626
hooks:
2727
- id: detect-secrets
2828
args: [--baseline, .secrets.baseline]

.secrets.baseline

Lines changed: 49 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,68 @@
11
{
2-
"custom_plugin_paths": [],
3-
"exclude": {
4-
"files": null,
5-
"lines": null
6-
},
7-
"generated_at": "2020-10-23T18:25:01Z",
2+
"version": "1.1.0",
83
"plugins_used": [
94
{
105
"name": "AWSKeyDetector"
116
},
127
{
13-
"base64_limit": 4.5,
14-
"name": "Base64HighEntropyString"
8+
"name": "Base64HighEntropyString",
9+
"limit": 4.5
1510
},
1611
{
1712
"name": "BasicAuthDetector"
1813
},
1914
{
20-
"hex_limit": 3,
21-
"name": "HexHighEntropyString"
15+
"name": "HexHighEntropyString",
16+
"limit": 3
2217
},
2318
{
24-
"keyword_exclude": null,
25-
"name": "KeywordDetector"
19+
"name": "KeywordDetector",
20+
"keyword_exclude": ""
2621
},
2722
{
2823
"name": "PrivateKeyDetector"
2924
}
3025
],
31-
"results": {
32-
"gradle.properties.example": [
33-
{
34-
"hashed_secret": "6f9583b0d701174f6b64698f940f9e1470612638",
35-
"is_verified": false,
36-
"line_number": 2,
37-
"type": "Secret Keyword"
38-
}
39-
]
40-
},
41-
"version": "0.14.3",
42-
"word_list": {
43-
"file": null,
44-
"hash": null
45-
}
26+
"filters_used": [
27+
{
28+
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
29+
},
30+
{
31+
"path": "detect_secrets.filters.common.is_baseline_file",
32+
"filename": ".secrets.baseline"
33+
},
34+
{
35+
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
36+
"min_level": 2
37+
},
38+
{
39+
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
40+
},
41+
{
42+
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
43+
},
44+
{
45+
"path": "detect_secrets.filters.heuristic.is_lock_file"
46+
},
47+
{
48+
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
49+
},
50+
{
51+
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
52+
},
53+
{
54+
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
55+
},
56+
{
57+
"path": "detect_secrets.filters.heuristic.is_sequential_string"
58+
},
59+
{
60+
"path": "detect_secrets.filters.heuristic.is_swagger_file"
61+
},
62+
{
63+
"path": "detect_secrets.filters.heuristic.is_templated_secret"
64+
}
65+
],
66+
"results": {},
67+
"generated_at": "2021-08-08T15:04:32Z"
4668
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Once you setup the plugin correctly, you can call the `:generateSwagger` gradle
5656

5757
In order to run this gradle plugin you need to fulfill the following requirements:
5858

59-
* Gradle 5.x - This plugin uses Gradle 5 features, and you will need to setup your Gradle wrapper to use 5.4.1 or more.
59+
* Gradle 6.x - This plugin uses Gradle 6 features, and you will need to setup your Gradle wrapper to use 6.8 or more.
6060
* Java 8+
6161

6262
## Supported platforms

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ subprojects {
44
repositories {
55
google()
66
mavenCentral()
7-
jcenter()
87
}
98
}
109

@@ -55,10 +54,11 @@ val preMerge = tasks.register("preMerge") {
5554
}
5655

5756
plugins {
58-
id("com.android.library").version("4.0.1").apply(false)
57+
id("com.android.library").version("4.2.2").apply(false)
5958
id("com.yelp.codegen.plugin").version("1.4.1").apply(false)
60-
id("io.gitlab.arturbosch.detekt").version("1.14.2").apply(false)
61-
kotlin("android").version("1.3.72").apply(false)
59+
id("io.gitlab.arturbosch.detekt").version("1.17.1").apply(false)
60+
id("com.github.ben-manes.versions") version "0.39.0"
61+
kotlin("android").version("1.4.32").apply(false)
6262
}
6363

6464
subprojects {
@@ -76,7 +76,7 @@ subprojects {
7676
* Python `venv/bin` folder is different based on OS.
7777
* On Windows it's inside the `venv/Scripts` folder.
7878
*/
79-
val binFolder : String get() = if (System.getProperty("os.name").toLowerCase().contains("windows")) {
79+
val binFolder: String get() = if (System.getProperty("os.name").toLowerCase().contains("windows")) {
8080
"Scripts"
8181
} else {
8282
"bin"

0 commit comments

Comments
 (0)